Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bugfix in configure script [DSO missing from command line]

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
sven



Joined: 09 Apr 2014
Posts: 34

PostPosted: Tue Jun 09, 2015 8:42 pm    Post subject: Bugfix in configure script [DSO missing from command line] Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jun 10, 2015 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
sven



Joined: 09 Apr 2014
Posts: 34

PostPosted: Fri Jun 12, 2015 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 16, 2015 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber