|
I decided to try out gnome-5250 & gtk-5250 under Linux (as opposed to my normal FreeBSD) It compiles & links cleanly, but for some reason, it can't find lib5250.so.0 when I try to actually run it. This is a problem that I don't have with tn5250 on the same machine -- and a problem that I have never run across on FreeBSD. This is what I get: (sck2) 3:23am ~ > gnome-5250 as400.klements.com gnome-5250: error in loading shared libraries: lib5250.so.0: cannot open shared object file: No such file or directory (sck2) 3:26am ~ > ldd /usr/local/bin/gnome-5250 libgnomeui.so.32 => /usr/lib/libgnomeui.so.32 (0x40017000) libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x400e0000) libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x400ee000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40112000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4011b000) libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40132000) libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40252000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x40285000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40288000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40294000) libgnome.so.32 => /usr/lib/libgnome.so.32 (0x40338000) libgnomesupport.so.0 => /usr/lib/libgnomesupport.so.0 (0x4034e000) libesd.so.0 => /usr/lib/libesd.so.0 (0x40353000) libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x4035b000) libm.so.6 => /lib/libm.so.6 (0x4036d000) libdb.so.2 => /lib/libdb.so.2 (0x40389000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40397000) libdl.so.2 => /lib/libdl.so.2 (0x403b9000) libnsl.so.1 => /lib/libnsl.so.1 (0x403bc000) libncurses.so.4 => /usr/lib/libncurses.so.4 (0x403d3000) lib5250.so.0 => not found libc.so.6 => /lib/libc.so.6 (0x40412000) libz.so.1 => /usr/lib/libz.so.1 (0x40505000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) (sck2) 3:28am ~ > ldd /usr/local/bin/tn5250 lib5250.so.0 => /usr/local/lib/lib5250.so.0 (0x40013000) libnsl.so.1 => /lib/libnsl.so.1 (0x4002f000) libncurses.so.4 => /usr/lib/libncurses.so.4 (0x40045000) libc.so.6 => /lib/libc.so.6 (0x40084000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Does that make any sense? tn5250 can find it, but gnome-5250 can't? In case its helpful, here's the point in the "make" where its linking to these libraries. It doesn't give any errors, tho... gcc -DPACKAGE=\"gnome-5250\" -DVERSION=\"0.2\" -DPKGDATADIR=\"/usr/local/share\" -I. -I. -g -O2 -I/usr/lib/glib/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/local/include -c gnome-5250.c gcc -g -O2 -I/usr/lib/glib/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/local/include -o gnome-5250 gnome-5250.o gtk5250propdlg.o gtk5250terminal.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -lnsl -lncurses -L/usr/local/lib -l5250 I'm running RedHat-6.1 Not having this problem under FreeBSD. :) Any insights appreciated... Scott +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.