New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSO aus der Kommandozeile fehlt #1107

Closed
JPRuehmann opened this Issue Jan 18, 2018 · 13 comments

Comments

Projects
None yet
4 participants
@JPRuehmann

JPRuehmann commented Jan 18, 2018

Hello

I can´t compile
get the following error
anyone knows why?

I am on Kubuntu 16.04 (32Bit)
using the source tarball from your HP
since the github clone not compiling allready and the Binarys not working (format error)
I´ve run pushd deps/cl342; make; popd > /dev/null first.

[ 63%] Linking CXX executable bbs
/usr/bin/ld: ../deps/cl342/libcl.a(odbc.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
//lib/i386-linux-gnu/libdl.so.2: error adding symbols: DSO aus der Kommandozeile fehlt
collect2: error: ld returned 1 exit status
bbs/CMakeFiles/bbs.dir/build.make:101: die Regel für Ziel „bbs/bbs“ scheiterte
make[2]: *** [bbs/bbs] Fehler 1
CMakeFiles/Makefile2:430: die Regel für Ziel „bbs/CMakeFiles/bbs.dir/all“ scheiterte
make[1]: *** [bbs/CMakeFiles/bbs.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

Thanks,

@granitepenguin

This comment has been minimized.

Show comment
Hide comment
@granitepenguin

granitepenguin Jan 23, 2018

Contributor

More details from IRC

01/22 17:29 < JPRuehmann> I am using Kubuntu 16.04 (32Bit)
01/22 17:30 < JPRuehmann> Both (Github and Tarball are not working
01/22 17:32 < JPRuehmann> The Error is "/usr/bin/ld: ../deps/cl342/libcl.a(odbc.o):
undefined reference to symbol 'dlopen@@GLIBC_2.1'"
01/22 17:32 < JPRuehmann> What can I do to resolve this?

01/22 17:40 <&GranitePenguin> what link are you using to get the source ?
01/22 17:41 < JPRuehmann> github https://github.com/wwivbbs/wwiv.git
01/22 17:42 < JPRuehmann> tarball https://github.com/wwivbbs/wwiv/archive/wwiv_5.2.0.tar.gz

01/22 17:43 <&GranitePenguin> Which documentation link are you following?
01/22 17:45 < JPRuehmann> https://docs.wwivbbs.org/en/wwiv52/

01/22 17:49 <&GranitePenguin> what version of g++ do you have?
01/22 17:56 < JPRuehmann> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)

Contributor

granitepenguin commented Jan 23, 2018

More details from IRC

01/22 17:29 < JPRuehmann> I am using Kubuntu 16.04 (32Bit)
01/22 17:30 < JPRuehmann> Both (Github and Tarball are not working
01/22 17:32 < JPRuehmann> The Error is "/usr/bin/ld: ../deps/cl342/libcl.a(odbc.o):
undefined reference to symbol 'dlopen@@GLIBC_2.1'"
01/22 17:32 < JPRuehmann> What can I do to resolve this?

01/22 17:40 <&GranitePenguin> what link are you using to get the source ?
01/22 17:41 < JPRuehmann> github https://github.com/wwivbbs/wwiv.git
01/22 17:42 < JPRuehmann> tarball https://github.com/wwivbbs/wwiv/archive/wwiv_5.2.0.tar.gz

01/22 17:43 <&GranitePenguin> Which documentation link are you following?
01/22 17:45 < JPRuehmann> https://docs.wwivbbs.org/en/wwiv52/

01/22 17:49 <&GranitePenguin> what version of g++ do you have?
01/22 17:56 < JPRuehmann> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Jan 28, 2018

Contributor

try rebuilding libcl.a
something like:

cd deps/cl342
make clean
make -j4
Contributor

wwiv commented Jan 28, 2018

try rebuilding libcl.a
something like:

cd deps/cl342
make clean
make -j4
@JPRuehmann

This comment has been minimized.

Show comment
Hide comment
@JPRuehmann

JPRuehmann Jan 29, 2018

I´ve just tried it out.
Did not change anything.
Thanks,

JPRuehmann commented Jan 29, 2018

I´ve just tried it out.
Did not change anything.
Thanks,

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Feb 1, 2018

Contributor

I'll try it on ubuntu 32-bit not kubuntu (should be the same result). kubuntu isn't downloading at more than 1k/s for me (on a 250MB pipe). ubuntu is ~250k/s.

Contributor

wwiv commented Feb 1, 2018

I'll try it on ubuntu 32-bit not kubuntu (should be the same result). kubuntu isn't downloading at more than 1k/s for me (on a 250MB pipe). ubuntu is ~250k/s.

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Feb 1, 2018

Contributor

latest github pull for 5.3 worked for me on ubuntu 16.04(32-bit)

I did this and it worked.

cd deps/cl342
make clean
make -j8
cd ../..
mkdir _build
cd _build
../debug.sh ..
cmake --build . -- -j8

Maybe the flags passed to gcc from cmake are better than what we had before? i don't know.

This looks like TigerVNC/tigervnc#7
or
https://askubuntu.com/questions/334884/while-compiling-truecrypt-i-get-undefined-reference-to-symbol-dlcloseglibc

You can try this:
Set the environment variable LIBS to -ldl:

LIBS=-ldl make

This seems to be a common problem on 32-bit linux distros.

Hope this helps.

Contributor

wwiv commented Feb 1, 2018

latest github pull for 5.3 worked for me on ubuntu 16.04(32-bit)

I did this and it worked.

cd deps/cl342
make clean
make -j8
cd ../..
mkdir _build
cd _build
../debug.sh ..
cmake --build . -- -j8

Maybe the flags passed to gcc from cmake are better than what we had before? i don't know.

This looks like TigerVNC/tigervnc#7
or
https://askubuntu.com/questions/334884/while-compiling-truecrypt-i-get-undefined-reference-to-symbol-dlcloseglibc

You can try this:
Set the environment variable LIBS to -ldl:

LIBS=-ldl make

This seems to be a common problem on 32-bit linux distros.

Hope this helps.

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Feb 1, 2018

Contributor

however pulling from latest in github didn't reproduce this for me.

Contributor

wwiv commented Feb 1, 2018

however pulling from latest in github didn't reproduce this for me.

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Feb 1, 2018

Contributor

Maybe a fix like this would work if it fails for you.

See https://github.com/halide/Halide/pull/2235/files

Contributor

wwiv commented Feb 1, 2018

Maybe a fix like this would work if it fails for you.

See https://github.com/halide/Halide/pull/2235/files

@JPRuehmann

This comment has been minimized.

Show comment
Hide comment
@JPRuehmann

JPRuehmann Feb 1, 2018

Tried that out, no change.
Is a git pull in the ~/wwiv/ folder enough for update?
export LIBS=-ldl changes nothing
../debug.sh .. from ~/wwiv/_builds throws the amentioned error.
The Links give me no Clue.
Thanks,

JPRuehmann commented Feb 1, 2018

Tried that out, no change.
Is a git pull in the ~/wwiv/ folder enough for update?
export LIBS=-ldl changes nothing
../debug.sh .. from ~/wwiv/_builds throws the amentioned error.
The Links give me no Clue.
Thanks,

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Feb 1, 2018

Contributor

@granitepenguin any ideas?

Contributor

wwiv commented Feb 1, 2018

@granitepenguin any ideas?

@ericpareja

This comment has been minimized.

Show comment
Hide comment
@ericpareja

ericpareja Apr 14, 2018

Contributor

@JPRuehmann you might need to do git submodule init and git submodule update in ~/wwiv/ folder first.

maybe docs on linux build needs an update

Contributor

ericpareja commented Apr 14, 2018

@JPRuehmann you might need to do git submodule init and git submodule update in ~/wwiv/ folder first.

maybe docs on linux build needs an update

@JPRuehmann

This comment has been minimized.

Show comment
Hide comment
@JPRuehmann

JPRuehmann Apr 14, 2018

Tried it out but did not do anything.

JPRuehmann commented Apr 14, 2018

Tried it out but did not do anything.

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Jun 16, 2018

Contributor

I think cryptlib won't work on 32-bit os'es. Not sure why it didn't fail for me, I saw complaints in the synchronet irc on this

Contributor

wwiv commented Jun 16, 2018

I think cryptlib won't work on 32-bit os'es. Not sure why it didn't fail for me, I saw complaints in the synchronet irc on this

@wwiv

This comment has been minimized.

Show comment
Hide comment
@wwiv

wwiv Aug 9, 2018

Contributor

I have no more ideas here. I don't think wwiv as-is today will build on 32-bit os on linux

Contributor

wwiv commented Aug 9, 2018

I have no more ideas here. I don't think wwiv as-is today will build on 32-bit os on linux

@wwiv wwiv closed this Aug 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment