- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't find path for shared library: libgcc_s.sl
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 02:26 PM
03-22-2005 02:26 PM
Can't find path for shared library: libgcc_s.sl
Sorry if this question has already answered in this forum.
I have compiled and linked a program using gcc 3.4.2 on HP 11i.
While executing the program core is dumped with message
/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
/usr/lib/dld.sl: No such file or directory
(coredump)
Strange part is that the path for libgcc_s.sl is present in the SHLIB_PATH and has got appropriate permissions.
My GCC version is Configured with: /scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2/configure --enable-languages=c,c++ --enable-threads=posix --disable-n
ls --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as --with-ld=/usr/ccs/bin/ld --with-libiconv-prefix=/usr/local --prefix=/
usr/local
Thread model: posix
gcc version 3.4.2.
Please help.
thanks in advance
shiva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 02:55 PM
03-22-2005 02:55 PM
Re: Can't find path for shared library: libgcc_s.sl
if its there then:
SHLIB_PATH=/usr/lib:$SHLIB_PATH
export SHLIB_PATH
try again
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2005 09:25 PM
03-22-2005 09:25 PM
Re: Can't find path for shared library: libgcc_s.sl
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 12:36 AM
03-23-2005 12:36 AM
Re: Can't find path for shared library: libgcc_s.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 12:39 AM
03-23-2005 12:39 AM
Re: Can't find path for shared library: libgcc_s.sl
If not, then `chatr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:40 PM
03-30-2005 12:40 PM
Re: Can't find path for shared library: libgcc_s.sl
The problem is not with my program but with libstdc++.
all my libs are not installed on /usr/local/lib but in my local profile.
ldd -v of libstdc++.sl gives
find library=/usr/lib/libc.2; required by libstdc++.sl
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2-b/gcc/libgcc_s.sl; required by libstdc++.sl
/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
/usr/lib/dld.sl: No such file or directory
my gcc is installed in /home/user/usr/local/bin.
SHLIB_PATH=/home/user/apache/libexec:/home/user/apache:/
home/nesic/usr/local/lib:.
I had not included LD_LIBRARY_PATH earlier. Though i export the path for LD_LIBRARY_PATH as /home/user/usr/local/lib still it gives the same issue.
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:42 PM
03-30-2005 12:42 PM
Re: Can't find path for shared library: libgcc_s.sl
the chatr command give the foll output
TestAppTool:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /home/user/usr/local/lib/libstdc++.sl.6
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
explicit unloading enabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references enabled
shared library private mapping disabled
shared library text merging disabled
any clue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:53 PM
03-30-2005 12:53 PM
Re: Can't find path for shared library: libgcc_s.sl
Though strange but i have verified it.
I copied libstdc++ related libraries to /usr/local/lib and my application works fine.
But in case i dont have libstdc++ related libraries and i recompile my application it fails and dumps core
/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
Is there something which i am doing wrong??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:33 PM
03-30-2005 01:33 PM
Re: Can't find path for shared library: libgcc_s.sl
The problem is solved when i do a chatr +s enable
Is there any way that i can resolve it during make itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 05:25 AM
03-31-2005 05:25 AM
Re: Can't find path for shared library: libgcc_s.sl
you can turn on SHLIB_PATH lookup at link (build) time with the linker option "+s". you can either pass it to linker directly or through compiler as "-Wl,+s" or set LDOPTS="... +s ..." (where "..." is other ld options you may have already).
--
ranga