Thread: Problem with parallel program /usr/bin/ld: cannot find -lX11
i have parallel program requires "make" command compile many source files. use "make all" command these messages:
/usr/bin/ld: cannot find -lx11
collect2: ld returned 1 exit status
gmake[1]: *** [../bin/paradis] error 1
cannot figure out what's wrong program , make files. can me? thank you.
more of message follows:
timer.o topology.o trapezoidintegrator.o util.o writearms.o writebinaryrestart.o writedensflux.o writedensityfield.o writefragments.o writepolefig.o writepovray.o writeprop.o writerestart.o writetsb.o writevelocity.o displayc.o display.o -o ../bin/paradis -l/usr/lib64 -lx11 -lpthread -lm
/usr/bin/ld: cannot find -lx11
collect2: ld returned 1 exit status
gmake[1]: *** [../bin/paradis] error 1
gmake[1]: leaving directory `/home/h0337502/parallel/src'
gmake[1]: entering directory `/home/h0337502/parallel/src'
g++ ctablegen.o correctiontable.o fmsigma2.o fmsupport.o heap.o memcheck.o queueops.o util.o -o ../bin/ctablegenp -l/usr/lib64 -lx11 -lpthread -lm
/usr/bin/ld: cannot find -lx11
collect2: ld returned 1 exit status
gmake[1]: *** [../bin/ctablegenp] error 1
gmake[1]: leaving directory `/home/h0337502/parallel/src'
you missing x11 library dependency on system preventing building application. odd s/w building did not provide documentation indicate dependencies. did have "configure" script or "readme" file?
anyhow, believe following package need installed:
code:sudo apt-get install libx11-6
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Problem with parallel program /usr/bin/ld: cannot find -lX11
Ubuntu
Comments
Post a Comment