[apluslist] aplus on slackware 9.1
Vladimir N. Kutinsky
kutinskyv at obninsk.com
Mon Jan 2 23:15:08 EST 2006
This error is generated with a Dynamic Linker that can't find at least one
library. Im not sure but i think the problem lies in the location of aplus
libraries (all aplus files, in fact), which is very unusual
(/usr/local/bin/aplus..).
When trying to load a library, the linker searches thru a number of known
directories that contain shared libraries. If your directory
(/usr/local/bin/aplus-fsf-4.18/lib) is not in the search path, the linker
won't find the libs even if they are all there.
Try to investigate it with the "ldd" utility that prints shared library
dependencies for an executable (a+ resides in /usr/bin/ on my system):
debian:/usr/bin# ldd a+
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40027000)
libIPC.so.0 => /usr/lib/libIPC.so.0 (0x400ee000)
libcxs.so.0 => /usr/lib/libcxs.so.0 (0x4010d000)
libcxb.so.0 => /usr/lib/libcxb.so.0 (0x4010f000)
libAplusGUI.so.0 => /usr/lib/libAplusGUI.so.0 (0x40113000)
libcxsys.so.0 => /usr/lib/libcxsys.so.0 (0x40270000)
libcxc.so.0 => /usr/lib/libcxc.so.0 (0x4027c000)
libesf.so.0 => /usr/lib/libesf.so.0 (0x40282000)
liba.so.0 => /usr/lib/liba.so.0 (0x40296000)
libdap.so.0 => /usr/lib/libdap.so.0 (0x403e7000)
libMSGUI.so.0 => /usr/lib/libMSGUI.so.0 (0x403f8000)
libMSIPC.so.0 => /usr/lib/libMSIPC.so.0 (0x4072d000)
libMSTypes.so.0 => /usr/lib/libMSTypes.so.0 (0x4074f000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40929000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x40939000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4094d000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40950000)
libm.so.6 => /lib/tls/libm.so.6 (0x40a0a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40a2c000)
libc.so.6 => /lib/tls/libc.so.6 (0x40a35000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
In your case, you will probably see something like this:
...
libIPC.so.0 => not found
...
You can try to fix this problem by adding your directory to the search path.
This can be done by editing "/etc/ld.so.conf" file that contains a list of
directories where shared libraries can be found.
Hope this helps,
Vladimir
> -----Original Message-----
> From: apluslist-bounces at aplusdev.net [mailto:apluslist-
> bounces at aplusdev.net] On Behalf Of Norbert Pausch
> Sent: Monday, January 02, 2006 10:30 PM
> To: apluslist at aplusdev.net
> Subject: [apluslist] aplus on slackware 9.1
>
> Hello,
>
> I'm trying to run aplus 4.18 on slackware 9.1. Loading stops with the
> follwing message:
>
> root at afuwe:/# /usr/local/bin/aplus-fsf-4.18/lib/a+
> /usr/local/bin/aplus-fsf-4.18/lib/a+: error while loading shared
> libraries: libIPC.so.0: cannot open shared object file: No such file or
> directory
> root at afuwe:/# /usr/local/bin/aplus-fsf-4.18/bin/a+
> /usr/local/bin/aplus-fsf-4.18/bin/a+: error while loading shared
> libraries: libIPC.so.0: cannot open shared object file: No such file or
> directory
> root at afuwe:/# ATREE=/usr/local/bin/aplus-fsf-4.18
> root at afuwe:/# export ATREE
> root at afuwe:/# /usr/local/bin/aplus-fsf-4.18/bin/a+
> /usr/local/bin/aplus-fsf-4.18/bin/a+: error while loading shared
> libraries: libIPC.so.0: cannot open shared object file: No such file or
> directory
>
> However the requested file libIPC.so.0 resides in the directory (I
> copied a+ executable to this driectory too, but this didn't help):
> What am I doing wrong?
>
> root at afuwe:/usr/local/bin/aplus-fsf-4.18/lib# ls
> a+* libMSIPC.la* libcxc.so.0.0.0*
> adap.+ libMSIPC.so@ libcxs.a
> apter.+ libMSIPC.so.0@ libcxs.la*
> bigs.+ libMSIPC.so.0.0.0* libcxs.so@
> disp.+ libMSTypes.a libcxs.so.0@
> fsftest.+ libMSTypes.la* libcxs.so.0.0.0*
> idap.+ libMSTypes.so@ libcxsys.a
> libAplusGUI.a libMSTypes.so.0@ libcxsys.la*
> libAplusGUI.la* libMSTypes.so.0.0.0* libcxsys.so@
> libAplusGUI.so@ liba.a libcxsys.so.0@
> libAplusGUI.so.0@ liba.la* libcxsys.so.0.0.0*
> libAplusGUI.so.0.0.0* liba.so@ libdap.a
> libIPC.a liba.so.0@ libdap.la*
> libIPC.la* liba.so.0.0.0* libdap.so@
> libIPC.so@ libcxb.a libdap.so.0@
> libIPC.so.0@ libcxb.la* libdap.so.0.0.0*
> libIPC.so.0.0.0* libcxb.so@ libesf.a
> libMSGUI.a libcxb.so.0@ libesf.la*
> libMSGUI.la* libcxb.so.0.0.0* libesf.so@
> libMSGUI.so@ libcxc.a libesf.so.0@
> libMSGUI.so.0@ libcxc.la* libesf.so.0.0.0*
> libMSGUI.so.0.0.0* libcxc.so@ s.+
> libMSIPC.a libcxc.so.0@
>
>
>
> _______________________________________________
> apluslist mailing list
> apluslist at aplusdev.net
> http://aplusdev.net/mailman/listinfo/apluslist
More information about the apluslist
mailing list