(k)ubuntu x86_64 libgdk problem

Forum For Privateer Remake
Post Reply
Tiny_D
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Aug 08, 2007 9:06 am

(k)ubuntu x86_64 libgdk problem

Post by Tiny_D »

Hi everybody,

I know that these problem is discussed some time ago. But there was no resulution for me.

I running Kubuntu 7.04 x86_64 and try to install PR on it.

Code: Select all

linux32 ./privateer1.2.bz2.run
But the installer break with

Code: Select all

.setup7203: error while loading shared libraries: libgdk-1.2.so.0: cannot open shared object file: No such file or directory
but the lib is present

Code: Select all

ls -la /usr/lib|grep libgdk
lrwxrwxrwx   1 root root       19 2007-06-14 11:19 libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1
-rw-r--r--   1 root root   250912 2005-10-26 10:19 libgdk-1.2.so.0.9.1
lrwxrwxrwx   1 root root       30 2007-06-14 10:30 libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1000.11
-rw-r--r--   1 root root    98560 2007-04-05 19:06 libgdk_pixbuf-2.0.so.0.1000.11
lrwxrwxrwx   1 root root       22 2007-08-08 10:01 libgdk_pixbuf.so.2 -> libgdk_pixbuf.so.2.0.0
-rw-r--r--   1 root root   102328 2005-11-17 05:51 libgdk_pixbuf.so.2.0.0
lrwxrwxrwx   1 root root       35 2007-06-14 10:30 libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.1000.11
-rw-r--r--   1 root root    64752 2007-04-05 19:06 libgdk_pixbuf_xlib-2.0.so.0.1000.11
lrwxrwxrwx   1 root root       27 2007-08-08 10:01 libgdk_pixbuf_xlib.so.2 -> libgdk_pixbuf_xlib.so.2.0.0
-rw-r--r--   1 root root   139176 2005-11-17 05:51 libgdk_pixbuf_xlib.so.2.0.0
lrwxrwxrwx   1 root root       27 2007-06-14 10:30 libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.1000.11
-rw-r--r--   1 root root   627160 2007-04-05 19:06 libgdk-x11-2.0.so.0.1000.11
I found http://vegastrike.sourceforge.net/forum ... ght=libgdk
on forum, but it din't provide me a resulution.

I would try to compile it but cvs seems to be down at the moment. so have anybody a solution?
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Welcome Tiny_D the reason that cvs seems to down is that it is permanently down we have moved to subversion are you sure that the versions of the lib you have installed are 32-bit.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Two things:
First, you need to look in /usr/lib32 for the libgdk1.2.so if you want 32-bit GTK.

Second, the setup program should run inside a terminal with an NCurses interface.
Try "DISPLAY= linux32 ./privateer1.2.bz2.run" to disable using the X display/libraries.

You can use the "file" program on a library, and it will tell you if it's 32-bit or 64-bit, for example:

Code: Select all

# file /usr/lib/libgdk-1.2.so.0.9.1
/usr/lib/libgdk-1.2.so.0.9.1: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
# file /usr/lib32/libgdk-1.2.so.0.9.1
/usr/lib/libgdk-1.2.so.0.9.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
Tiny_D
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Aug 08, 2007 9:06 am

Post by Tiny_D »

Ok, there seems 2 be 2 problems to resolve ;)

The libgdk1.2.so is missing in /usr/lib32 and so far there seems to be no known package which contain this.

Whiout that it is also not able to start the installation with the ncursus display.

I will keep searching for a package which will rpovide this lib.

Thanks for your helpfull advices.

Hopefully I will return with a resolution.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Make sure you spelled it right... It might be libgdk-1.2.so or libgdk.so.1.2 or something like that. At any rate probably similar to the one in /usr/lib32

At worst, you can just extract the installer script with
./privateer1.2.bz2.run --target InstallDir

Which will use "tar -zxf" from the shell and extract to a directory. There's no way that will fail on a linux system.

But it shouldn't be having that problem. If I look at another setup program, I see no dependencies on GDK.

Code: Select all

patrick@quad:~$ ldd .setup2852 
        linux-gate.so.1 =>  (0xffffe000)
        libutil.so.1 => /lib32/libutil.so.1 (0xf7f9c000)
        libc.so.6 => /lib32/libc.so.6 (0xf7e5b000)
        /lib/ld-linux.so.2 (0xf7fb8000)
It must be then that the privateer1.2 setup was not made in as portable a manner as other versions of the LOKI installers... so just use the --target option, and that should extract it. You will have to set your PATH to include the binaries, however.
Tiny_D
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Aug 08, 2007 9:06 am

Post by Tiny_D »

It makes me upset to diasapoint you ace but that did not work.

But anyways, I have found a resolution 4 that problem with the help of the ubuntuforums.

You are able in Ubuntuo to install most of knowen libs with a tool namend getlibs.

To install getlibs:

Code: Select all

cd /tmp
wget -q http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs
chmod +x getlibs
sudo mv getlibs /usr/bin
cd ~
Now you can install the 32-bit libgdk-1.2.so.0

Code: Select all

sudo getlibs -32 libgdk-1.2.so.0
Thanks again to Cappy from ubuntuforums

There are some other libs they has to be installed. You can also take the getlibs way for them.

Now I can start with PR! Thanks to ALL
Post Reply