Hi, on BSD systems like OpenBSD, NetBSD, FreeBSD and Dragonfly you have to call 'ldconfig' with the option '-m'. Otherwise you overwrite its configured directory search path.
To reproduce this do:
1. Get e.g. OpenBSD
2. # ldconfig -r
/var/run/ld.so.hints:
search directories: /usr/lib:/usr/X11R6/lib:/usr/local/lib
0:-lm.5.2 => /usr/lib/libm.so.5.2
1:-lmenu.4.0 => /usr/lib/libmenu.so.4.0
...
150:-lXdmcp.10.0 => /usr/X11R6/lib/libXdmcp.so.10.0
3. configure and make install of zlib
4. # ldconfig -r
/var/run/ld.so.hints:
search directories: /usr/lib
0:-lm.5.2 => /usr/lib/libm.so.5.2
1:-lmenu.4.0 => /usr/lib/libmenu.so.4.0
...
40:-lz.4.1 => /usr/lib/libz.so.4.1
I have attached the patch for zlib-1.2.5. You can view it online here:
http://bit.ly/9yYWz1
--
FROGGS
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
zlib-1.2.5-bsd-ldconfig.patch
Description: zlib-1.2.5-bsd-ldconfig.patch
