Current + Multilib : dlopen errors when compiling
Hi!
I've just upgraded to the latest -current and to AlienBob's latest multilib packages and since then, I have many of my personal compiling scripts (for some mesa packages, ffmpeg, vlc, x264, etc.) failing when linking like this : Quote:
Googling around, many pages provide some insight like using LDLIBS='-ldl' to force adding this at the end of the gcc line, but to no avail yet. I really don't know how to investigate this so if anyone has a suggestion, please let me know. |
What version of ffmpeg, mesa, and vlc are you using? It looks like dlopen has something to do with libdl (dunno which package its from).
I am running current + multilib. I built vlc with: https://slackbuilds.org/repository/14.2/multimedia/vlc/ and I'm using a tricked out Official Slackware ffmpeg Slackbuild with the latest source package for Current. The Current package for mesa. The result: Code:
Done building package for vlc. |
Thanks for the reply.
libdl is brought by glibc, it's the library providing the way to dynamically open libraries. It's one of the fundamental libraries, I guess. I'm compiling git pulls of the various packages. The whole system works, so I guess dlopening at large is functionnal in my system, it's just that compilation of the some of my git packages fails. This is apparently an error with the way the gcc link command is written, the -ldl parameter should be given at the end of the command. But with the latest gits, the whole command line is usually hidden and I don't know how to force the build system to display them in order to see what's going on. using the LDLIBS paramater at configure time is supposed to help with that but not for me. |
Quote:
Code:
export VERBOSE=1 Code:
export V=1 |
Thanks, I'll try that.
I have the problem though and it was of course a mistake of mine somehow. For some reason, the upgrade of my glibc packages did not go completely through, many libraries remained in a /lib64/incoming packages. AlienBob explained to me that indeed the glibc libraries are first installed in this dir then moved to the proper /lib64 location bi the doinst.sh script. I've resintalled the glic packages and everything is fine now. Thanks for those who took the time to answer! |
All times are GMT -5. The time now is 11:37 AM. |