hi everyone, I'm having a problem with a shared library and I do not where to start from. Basically got this 'in-house' soft for which the source code is lost, and that has always been running on Red Hat (not an option anymore, we've all moved to Suse here). Now, when I am trying to install it (basically the installation process reduces to unzip a file) and run it it cries about sergio@aeolia:/CONVEX/source/models> ${ICAD_HOME}/interface/Linux/ICADExe /CONVEX/source/bin/../interface/Linux/ICADExe: error while loading shared libraries: libicadplot.so: cannot open shared object file: No such file or directory but sergio@aeolia:/CONVEX/source/models> echo $LD_LIBRARY_PATH /CONVEX/source/bin/../icad:/CONVEX/source/bin/../plot/figman and sergio@aeolia:/CONVEX/source/models> ls -l /CONVEX/source/plot/figman/libicadplot.so -rwxrwxr-x 1 sergio users 4158376 2002-03-28 00:22 /CONVEX/source/plot/figman/libicadplot.so* sergio@aeolia:/CONVEX/source/models> file /CONVEX/source/plot/figman/libicadplot.so /CONVEX/source/plot/figman/libicadplot.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Could someone give me a hint on how can I do it for this executable to see the library?? Thanks, Sergio -- In short, at least give the penguin a fair viewing. If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do. -- Linus "what, me arrogant?" Torvalds, on c.o.l.advocacy
Sergio Dominguez wrote:
hi everyone,
I'm having a problem with a shared library and I do not where to start from. Basically got this 'in-house' soft for which the source code is lost, and that has always been running on Red Hat (not an option anymore, we've all moved to Suse here). Now, when I am trying to install it (basically the installation process reduces to unzip a file) and run it it cries about
sergio@aeolia:/CONVEX/source/models> ${ICAD_HOME}/interface/Linux/ICADExe /CONVEX/source/bin/../interface/Linux/ICADExe: error while loading shared libraries: libicadplot.so: cannot open shared object file: No such file or directory
but
sergio@aeolia:/CONVEX/source/models> echo $LD_LIBRARY_PATH /CONVEX/source/bin/../icad:/CONVEX/source/bin/../plot/figman
and
sergio@aeolia:/CONVEX/source/models> ls -l /CONVEX/source/plot/figman/libicadplot.so -rwxrwxr-x 1 sergio users 4158376 2002-03-28 00:22 /CONVEX/source/plot/figman/libicadplot.so*
Maybe a dumb question but what is this asterisk supposed to be? Is it part of the name and file() works for some strange globbing reasons or just a typo? In the former case, maybe mv "/CONVEX/source/plot/figman/libicadplot.so\*" "/CONVEX/source/plot/figman/libicadplot.so" can solve your problem.
sergio@aeolia:/CONVEX/source/models> file /CONVEX/source/plot/figman/libicadplot.so /CONVEX/source/plot/figman/libicadplot.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
Could someone give me a hint on how can I do it for this executable to see the library??
Thanks,
Sergio
HTH, Kolja
Kolja Kauder wrote:
Sergio Dominguez wrote:
hi everyone,
I'm having a problem with a shared library and I do not where to start from. Basically got this 'in-house' soft for which the source code is lost, and that has always been running on Red Hat (not an option anymore, we've all moved to Suse here). Now, when I am trying to install it (basically the installation process reduces to unzip a file) and run it it cries about
sergio@aeolia:/CONVEX/source/models> ${ICAD_HOME}/interface/Linux/ICADExe /CONVEX/source/bin/../interface/Linux/ICADExe: error while loading shared libraries: libicadplot.so: cannot open shared object file: No such file or directory
but
sergio@aeolia:/CONVEX/source/models> echo $LD_LIBRARY_PATH /CONVEX/source/bin/../icad:/CONVEX/source/bin/../plot/figman
and
sergio@aeolia:/CONVEX/source/models> ls -l /CONVEX/source/plot/figman/libicadplot.so -rwxrwxr-x 1 sergio users 4158376 2002-03-28 00:22 /CONVEX/source/plot/figman/libicadplot.so*
Maybe a dumb question but what is this asterisk supposed to be? Is it part of the name and file() works for some strange globbing reasons or just a typo? In the former case, maybe mv "/CONVEX/source/plot/figman/libicadplot.so\*" "/CONVEX/source/plot/figman/libicadplot.so" can solve your problem.
sergio@aeolia:/CONVEX/source/models> file /CONVEX/source/plot/figman/libicadplot.so /CONVEX/source/plot/figman/libicadplot.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
Could someone give me a hint on how can I do it for this executable to see the library??
Thanks,
Sergio
HTH, Kolja
"*", It's a symbol that ls -l on some systems appends to show it's executeable, I only get that using "l /bin/zsh", e.g. -rwxr-xr-x 1 root root 441296 2004-04-06 02:21 /bin/zsh* It's a possibility that the library is not compatible. You could try "LD_PRELOAD=/CONVEX/source/plot/figman/libicadplot.so ${ICAD_HOME}/interface/Linux/ICADExe", permissions and ownership look OK. "ls -lR /CONVEX" and check ownerships are all "sergio users". Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
Kolja, On Wednesday 20 October 2004 17:33, Kolja Kauder wrote:
...
sergio@aeolia:/CONVEX/source/models> ls -l users 4158376 2002-03-28 00:22 /CONVEX/source/plot/figman/libicadplot.so*
Maybe a dumb question but what is this asterisk supposed to be? Is it part of the name and file() works for some strange globbing reasons or just a typo?
It's not a typo. It's output from the "ls" command when the "-F" / "--classify" option is in effect. There are several such markers that signify what kind of file system entry is being listed. The most common are '*' (executable) '/' (directory) '@' (symbolic link). Others are '|' (named pipe) and '=' (socket). Randall Schulz
participants (4)
-
Kolja Kauder
-
Randall R Schulz
-
Sergio Dominguez
-
Sid Boyce