mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2010-10-08, 23:11   #1
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

752610 Posts
Default Linux sucks - linker problems

OK, so I upgraded to the latest Ubuntu to work on a bug report. Moved 26.3 sources over. Typed "make" -- curl.h not found.

OK, a quick google says I need to install the "-dev" version of libcurl. Start package manager. Two choices. One is libcurl-openssl-dev and libcurl-gnutls-dev. Let's try the openssl one.

make. tons of undefined symbols. more google. Packages cyrto and zlib added to makefile.

make. tons more undefineds. more google - little help. try gss package, try kerberos package, try something called asn package, ldap package, try this package, try that package, blah, blah, blah.

three hours later - screw it. Comment out all code that calls libcurl so that I can debug the original problem.

I'm not a complete idiot. My conclusion is that Linux and/or Ubuntu documentation and packaging is WOEFULLY inadequate.

If the latest Debian release is equally bad, a volunteer will be needed to create makefiles for future builds (current linux releases are built on the Debian "etch" release).

Last fiddled with by Prime95 on 2010-10-08 at 23:12
Prime95 is offline   Reply With Quote
Old 2010-10-08, 23:57   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

...was it any better in OpenSUSE, if you had to compare? Just curious.
Batalov is offline   Reply With Quote
Old 2010-10-09, 00:16   #3
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2·3·101 Posts
Default

Quote:
Originally Posted by Batalov View Post
...was it any better in OpenSUSE, if you had to compare? Just curious.
a disaster, try to enable w32codecs in an older openSUSE distribution, for the neutered version of kaffeine.
moebius is online now   Reply With Quote
Old 2010-10-09, 00:26   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·53·71 Posts
Default

I didn't try OpenSUSE.

Thanks for letting me vent. I needed it after three frustrating hours doing something as simple as trying to link to library.
Prime95 is offline   Reply With Quote
Old 2010-10-11, 13:56   #5
ldesnogu
 
ldesnogu's Avatar
 
Jan 2008
France

10001001102 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Thanks for letting me vent. I needed it after three frustrating hours doing something as simple as trying to link to library.
Heh, I know the feeling: I had the same when I tried to develop on Windows years ago

I'm now very used to look for things in the various Linux package managers. But I agree Linux has a long way to go to please even developers; no need to talk about end-users...
ldesnogu is offline   Reply With Quote
Old 2010-12-20, 19:15   #6
tichy
 
Nov 2010

10011002 Posts
Default

Quote:
Originally Posted by Prime95 View Post
after three frustrating hours doing something as simple as trying to link to library.
Have you ever heard of libtool and .la files ?
tichy is offline   Reply With Quote
Old 2010-12-20, 19:39   #7
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250516 Posts
Default

Necroposting is not a very good habit.
Batalov is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
hair conditioner sucks and blows jasong jasong 7 2012-11-03 19:20
Moblin sucks if you like privacy jasong Linux 0 2011-02-18 00:10
Defendmyname, Linux problems need help! defendmyname Linux 2 2008-12-16 12:03
Mlucas problems on Linux Alpha shackan Mlucas 9 2006-01-17 20:04
Q: Mlucas on Linux on Alpha hardware - Problems ??? MartinHvidberg Mlucas 9 2003-07-21 18:58

All times are UTC. The time now is 08:07.


Sat Jul 17 08:07:51 UTC 2021 up 50 days, 5:55, 1 user, load averages: 1.53, 1.48, 1.38

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.