Matthew Seaman wrote:
On Wed, Mar 17, 2004 at 02:20:34PM +0100, Heinrich Rebehn wrote:

this is the ldd output:

[EMAIL PROTECTED] [/usr/local/libexec/apache] # ldd ./

[...] => /usr/lib/ (0x287fd000)

Hmmmm... Which OS version are you building this on?  If it's
5.2.1-RELEASE, I think that should be replaced by -- and one exceedingly annoying problem is that in a
dynamically linked program like Apache, parts of it can end up being
linked against libpthread, and other parts can be linked against
libc_r, which will cause the whole thing to crash.

One solution is to use /etc/libmap.conf to substiture libpthread for
libc_r during the dynamic link stage of program startup. See
libmap.conf(5).  /etc/libmap.conf should contain something like: # Everything uses 'libpthread'     # Everything that uses 'libc_r'        # now uses 'libpthread'

Of course, the ultimate solution is to fix all of the ports and
recompile them so that they automatically link against the correct
threading library.



Hi Matthew,

for some reason i do not have libpthread on my system:

[EMAIL PROTECTED] [~] # find /usr -name 'libpthread*'
[EMAIL PROTECTED] [~] # find /lib -name 'libpthread*'

This is strange, because /usr/src/lib/libpthread exists. Should i simply go there and do 'make install' ?

And yes, i use 5.2.1-RELEASE-p1.

Your other suggestion about editing /etc/make.conf unfortunately did not help.


_______________________________________________ [EMAIL PROTECTED] mailing list To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to