View previous topic :: View next topic |
Author |
Message |
sven
Joined: 09 Apr 2014 Posts: 34
|
Posted: Tue Jun 09, 2015 8:42 pm Post subject: Bugfix in configure script [DSO missing from command line] |
|
|
I am compiling form source, running the following command:
Code: |
./configure --sysconfdir=/etc/icecast2 --exec-prefix=/usr --datarootdir=/usr/share/icecast2 |
Configure runs good, but make returns the following error:
Code: |
libcrypto.so.1.0.0: error adding symbols: DSO missing from command line |
When modifying the configure script, and running make agian, the error is resolved.
The following line needs to be changed to resolve this:
Old:
Code: |
OPENSSL_LIBS="-L$openssl_prefix/lib -lssl" |
New:
Code: |
OPENSSL_LIBS="-L$openssl_prefix/lib -lssl -lcrypto" |
In short, add -lcrypto to line: 18616 & 18669 of the 'configure' script.
After that 'make' runs fine.
Would be nice if this can be added in a feature release.
Thank you. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jun 10, 2015 6:20 pm Post subject: |
|
|
seems odd that crypto is throwing that if the ssl library depends upon it. And why changing thd configure without re-running it has any bearing on makefiles. Can you send me the config.log in the problem case and verify what "pkg-config --libs openssl" returns
karl. |
|
Back to top |
|
|
sven
Joined: 09 Apr 2014 Posts: 34
|
Posted: Fri Jun 12, 2015 10:07 pm Post subject: |
|
|
Hi Karl,
Looks like pkg-config was not installed on the system.
After I installed it, the problem was resolved.
Might be a nice idea to show a warning while running configure if pkg-config is not installed. Something like:
configure: WARNING: pkg-config missing!
Thanks for your help.
Best regards,
Sven |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jun 16, 2015 12:30 am Post subject: |
|
|
yes someoneelse had that as well. seem that the the ssl lib is found so gets used but requires the full list as reported by pkg-config. I'll have to add some extra check into configure for that case.
karl. |
|
Back to top |
|
|
|