On Sat, Jun 24, 2000 at 11:58:35AM +0300, Alexander Prohorenko wrote:
> On Fri, Jun 23, 2000 at 08:19:28PM +0200, Bjoern Fischer wrote:
> > On Fri, Jun 23, 2000 at 05:12:03PM +0300, Alexander Prohorenko wrote:
> > > white@nwlynx:/usr/local/apache-dev/libexec>objdump -p mod_auth_pam.so
> > [...]
> > > Dynamic Section:
> > > NEEDED libpam.so.1
> > [...]
> > > white@nwlynx:/usr/local/apache-dev/bin>objdump -p httpd
> > > NEEDED libcrypt.so.2
> > > NEEDED libc.so.3
> > This looks sane. Maybe the runtime linker is confused
> > using a dlopened module from another dlopened module.
> > Try running httpd with the environment `LD_PRELOAD' set
> > to `/usr/lib/libpam.so.1' and let me know the results.
>
> Bjoern,
>
> Thank you so much! It works!
You're welcome. But as you see I sent this in private email rather
than to the list. LD_PRELOAD is for debugging, workarounds or similiar
hacks. It does not solve the real problem.
The real problem is FreeBSD's broken dlopen(). Please, don't
propagate the LD_PRELOAD hack since it doesn't really solve
problems.
Bjoern
--
-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+
K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+
------END GEEK CODE BLOCK------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message