Cannot compile on Debian 8.0 pre-release

  • Dear,


    I tried but failed to compile conquest (17d) on a fresh Debian 8.0 technical preview (also after upgrade from 7.7 to 8.0), although there was no problem on previous Debian releases...


    # sudo sh maklinux_mysql


    //usr/local/lib/libjasper.a(jas_stream.o): within function « jas_stream_tmpfile »:
    /etc/conquest/jasper-1.900.1-6ct/src/libjasper/base/jas_stream.c:368: WARNING: the use of `tmpnam' is dangerous, better use `mkstemp'
    /usr/bin/ld: lua.o: undefined symbolic reference «dlclose@@GLIBC_2.2.5»
    //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    cp: cannot evaluate « dgate »: No such file or directory


    Can you please help ?

  • Hello Marcel,


    hum hum, I got the same output for the two Debian versions...
    objdump -T /lib/x86_64-linux-gnu/libdl.so.2 | grep dlclose
    00000000000010f0 g DF .text 0000000000000034 GLIBC_2.2.5 dlclose


    I will check further but did not found any valuable information until now, that's why I posted..

  • Hi


    Encouraged the same on a fresh install Debian 8 32 bit system.
    Must be a lua issue.
    Conquest will compile fine without the flag -DLUA_USE_DLOPEN in maklinux_mysql.
    libdl.so.2 is installed by lbc6.


    Lua documentation is very unclear IMHO.


    Chris

  • Hi Fellow ...


    I had the same problem with Jasper in Ubuntu Server 12.04. I could resolve it install the package libjasper-dev , for ubuntu is:

    Code
    $ apt-get install libjasper-dev


    With this you not need compile jasper. I´m not done all test if this give other problem.
    regards

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!