[Top][All Lists]

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

dlopen, glibc 2.3.2

From: Joe Krahn
Subject: dlopen, glibc 2.3.2
Date: Thu, 03 Apr 2003 11:14:37 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

The behavior of dlopen has changed recently.
It used to be that dlopen would locate symbols in
dependent shared libraries in addition to the shared
library opened by dlopen. This no longer works in RH9,
at least for libglut.so.3.7.

I also noticed that you used to be able to compile
a program with just "-lglut", but you now need -lGLU -lGL, etc.
So, maybe this is a loader issue. Could it depend how
the so library is compiled?

The dlopen manual is not clear on what is supposed to
happen for dependent libraries of the on you dlopened.
This seems to vary among different OSes, and I think it
is unclear in the LSB description as well. Maybe dlopen
should, in the future, include a bit in the flag that
indicates the desired method of operation?

Thanks, Joe Krahn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]