undefined reference to `dlopen' and others
Can't seem to get xorg-server-1.5.1 to compile. I got everything else in the 7.4 release to compile.
Code:
... |
I think the functions in question are in libdl.so -- so the program should have
-ldl added to the compile command to link in the dynamic linking library code. It's strange that it's not there automatically, however. Can you manually add -ldl to the LDFLAGS in the Makefile? |
Well, I appreciate the help. I really thought that was going to work, based on some of my other searches, but it did not. I got the same error.
Code:
--- Makefile.old 2008-10-30 10:02:55.000000000 -0400 Code:
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/ioport' |
But interestingly enough, the line that fails does NOT seem to have -ldl in it (though others in the dump do).
Perhaps the LDFLAGS in /sources2/xc/xorg-server-1.5.1/hw/vfb/Makefile need to have -ldl added as well? |
try to run the configure script this way
export LIBS=-ldl && ./configure |
Quote:
|
Thanks for help on xorg-server!!!
Tried adding the export LIBS=-ldl and it worked.
Excellent! |
All times are GMT -5. The time now is 01:16 AM. |