undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

Bug #1804411 reported by Nico Schlömer
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
Nino MP

Bug Description

I try to compile mixxx master on Ubuntu 18.10 using just
```
scons
```
After about 20 mins of compiling, I get the error
```
[...]
g++ -o lin64_build/mixxx -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -pthread -Wl,-rpath=/usr/lib/x86_64-linux-gnu lin64_build/res/qrc_mixxx.o lin64_build/src/main.o -Llin64_build/lib/soundtouch -Llib/soundtouch -Llin64_build/lib/vamp -Llib/vamp lin64_build/libmixxx.a -lX11 -lportaudio -lasound -lm -lporttime -lportmidi -lQt5Concurrent -lQt5Network -lQt5OpenGL -lQt5Script -lQt5ScriptTools -lQt5Sql -lQt5Svg -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Xml -lQt5DBus -lQt5Core -lsndfile -lFLAC -lvorbisfile -lvorbis -logg -lvorbisenc -lGL -lGLU -ltag -lprotobuf-lite -lchromaprint -lrubberband -lmp3lame -lmad -lid3tag -lpthread -lrt -lusb-1.0 -lusb-1.0 -lshout -lopusfile -lopus -ldl -lfftw3 -lsqlite3 -llilv-0 -lupower-glib -lgobject-2.0 -lglib-2.0 -lsoundtouch -lvamp-hostsdk
/usr/bin/ld: lin64_build/lib/vamp/libvamp-hostsdk.a(Files.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
```
Any hints?

Revision history for this message
Be (be.ing) wrote :

Which version of Mixxx were you compiling? The master branch?

Revision history for this message
Nico Schlömer (nschloe) wrote :

Yes, the master branch.

Revision history for this message
Be (be.ing) wrote :

Recent changes to the build system in the master branch:
https://github.com/mixxxdj/mixxx/pull/1835
https://github.com/mixxxdj/mixxx/pull/1841

Revision history for this message
Adam Szmigin (smidge) wrote :

I also experience this same bug on master when compiling on Linux Mint 18.3 (which is based on Ubuntu 16.04 LTS).

A very quick grep shows that libmixxxminimal.so is the only file that contains these symbols (dlclose@@GLIBC2.2.5), but it isn't mentioned anywhere else in a build log, and I haven't looked any further.

The 2.2 branch builds without issue, and as I only need 2.2 for the time being, this was an appropriate workaround for me.

Revision history for this message
Nino MP (ninomp) wrote :

I am also using Linux Mint 18.3 and I am also experiencing this bug. I tried solving it with https://github.com/mixxxdj/mixxx/pull/1926, but this is causing double -ldl in LIBS variable. :-/

Revision history for this message
Stefan (nopeppermint) wrote :

I have the same Problem on Linux Mint 19 x64

Revision history for this message
Stefan (nopeppermint) wrote :

I found some missing dependencies:
https://mixxx.org/wiki/doku.php/compiling_on_linux was not complete
for current master branch the following packages were not mentioned:
- libvamp-sdk2v5
- libhidapi-libusb0

I just edited the wiki

but I still get the same errors..
but 2.2 builds fine..

Changed in mixxx:
milestone: none → 2.3.0
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Nino MP (ninomp)
Revision history for this message
Balaam's Miracle (balaam-balaamsmiracle) wrote :

I came here to find a solution to this issue, then saw that a fix was committed 3 hours prior.

I pulled the latest code from git and Mixxx is successfully linked now on my end. Help=> About reports "2.3.0-alpha-pre (build master r6669)"

Thanks for the fix, I hope that others will report similar results.

Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9525

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.