Re: Apache 2.2.8 on Solaris 10 (libgcc_s.so problems after compiling)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lloyd -- thanks for all your help. Lari revealed the following:

# lari httpd
libgcc_s.so.1 => (file not found)
libgcc_s.so.1 => (file not found)
[2:0]: __ashldi3(): /usr/local/lib/libgcc_s.so.1
[2:0P]: __ashldi3(): httpd
[2:0]: __ashrdi3(): /usr/local/lib/libgcc_s.so.1
[2:0P]: __ashrdi3(): httpd
[2:0]: __divdi3(): /usr/local/lib/libgcc_s.so.1
[2:1EP]: __divdi3(): httpd
[7:0]: __dso_handle[0]: /usr/local/apache/lib/libapr-1.so.0
[7:0]: __dso_handle[0]: /usr/local/apache/lib/libaprutil-1.so.0
[7:0]: __dso_handle[0]: /usr/local/apache/lib/libexpat.so.0
[7:0P]: __dso_handle[0]: /usr/local/lib/libcrypto.so.0.9.8
[7:0]: __dso_handle[0]: /usr/local/lib/libiconv.so.2
[7:0P]: __dso_handle[0]: /usr/local/lib/libssl.so.0.9.8
[7:0P]: __dso_handle[0]: httpd
[2:0]: __floatdisf(): /usr/local/lib/libgcc_s.so.1
[2:0P]: __floatdisf(): httpd
[2:0]: __lshrdi3(): /usr/local/lib/libgcc_s.so.1
[2:2EP]: __lshrdi3(): httpd
[2:0]: __moddi3(): /usr/local/lib/libgcc_s.so.1
[2:1EP]: __moddi3(): httpd
[2:0]: __udivdi3(): /usr/local/lib/libgcc_s.so.1
[2:2EP]: __udivdi3(): httpd
[2:0]: __umoddi3(): /usr/local/lib/libgcc_s.so.1
[2:1EP]: __umoddi3(): httpd
[24:1EP]: _end: httpd
[10:2EP]: _lib_version: httpd

Then it occured to me to try lari -s which revealed:

1525:
21525: hardware capabilities - 0x6b [ VIS2 VIS V8PLUS DIV32 MUL32 ]
21525:
21525:
21525: configuration file=/var/ld/ld.config: unable to process file
21525:
21525: file=/usr/local/apache/bin/httpd [ ELF ]; generating link map
21525: dynamic: 0xb298c base: 0x10000
21525: size: 0xa9ed0 entry: 0x2b540
21525: lmid: BASE lmco: 0xc
21525:
21525: file=httpd; analyzing [ RTLD_NOW RTLD_GLOBAL RTLD_WORLD RTLD_NODELETE ]
21525:
21525: file=libssl.so.0.9.8; needed by httpd
21525: file=/usr/local/lib/libssl.so.0.9.8 [ ELF ]; generating link map
21525: dynamic: 0xff1ecad4 base: 0xff1a0000
21525: size: 0x50000 entry: 0xff1a0000
21525: lmid: BASE lmco: 0xc
21525:
21525: notify debugger: event: RD_DLACTIVITY state: RT_ADD
21525:
21525: file=httpd; add binding to:
21525: file=/usr/local/lib/libssl.so.0.9.8 [ NEEDED ]

It turns out that openssl was my problem (it couldn't locate libgcc_s.so) I had to reconfigure openssl with the following:

LD_OPTIONS=”-R/usr/local/lib –L/usr/local/lib”; export LD_OPTIONS
./Configure solaris-sparcv9-gcc –prefix=/usr/local shared

Thanks for leading my down the right path.

Greg


Lloyd Parkes wrote:

Greg W. Smith wrote:

Lloyd -- thanks for the information. I actually tried the LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' as well with no luck. I got the same
output as you noted in your message.


If you run a Solaris program with LD_DEBUG set to suitable values, the runtime linker will tell you which library is loading what from where. This doesn't work with ldd. See the ld.so.1 and lari manual pages.

Cheers





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux