LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-06-2009, 06:35 PM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
libsndfile from Slackbuilds.org fails to build...


Hi all,

I'm having trouble building libsndfile from the repository on slackbuilds.org. I'm using Slackware 12.1 and building from the 12.1 repository.

Right at the end, I get this error:

Code:
/usr/lib/libsqlite3.so: undefined reference to `dlsym'
/usr/lib/libsqlite3.so: undefined reference to `dlerror'
/usr/lib/libsqlite3.so: undefined reference to `dlopen'
/usr/lib/libsqlite3.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [sndfile-regtest] Error 1
make[1]: Leaving directory `/tmp/SBo/libsndfile-1.0.17/regtest'
make: *** [all-recursive] Error 1
Which is kind of a bummer.

Does anyone know how to build libsndfile successfully?

Thanks,

-Drew
 
Old 01-06-2009, 06:45 PM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by Lufbery View Post
Does anyone know how to build libsndfile successfully?
I remember I had some other troubles when I tried to compile it.
However, I have libsndfile installed, and its' package is called libsndfile-1.0.17-i486-1irn.tgz . You can search for it, but it is probably available at linuxpackages.net.

Last edited by ErV; 01-06-2009 at 06:47 PM.
 
Old 01-06-2009, 07:29 PM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Remember to google this stuff. It's all there.

http://www.sqlite.org/cvstrac/tktview?tn=3555

Just append:
Code:
LDFLAGS="-ldl" \
On the line before CFLAGS as a brute force solution. Looks like some autoconfigury tweaking is needed in the sqlite source.

Might also want to use a devel version of libsndfile. I've been doing so for quite awhile with no ill effect.

http://www.mega-nerd.com/tmp/

1.0.18pre24h is the latest...

Last edited by jong357; 01-06-2009 at 07:43 PM.
 
Old 01-06-2009, 07:36 PM   #4
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by jong357 View Post
Remember to google this stuff. It's all there.
Yeah, a quick google search led me to this post. He had the same problem with libsndfile from slackbuilds.
 
Old 01-06-2009, 07:44 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I just built it for both 12.1 and 12.2 with the 12.2 build. you should have qt 3.8 installed from your slackware distro. is is calling for the libraries in sqlite so either way use qt or sqtlite. you need qt to build this. the build must be done as root
 
Old 01-07-2009, 09:33 AM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Thanks for the responses, folks. I'll give the suggestions a try.

I've got qt installed. I'll make sure it's version 3.8. I've also got sqlite installed, so that shouldn't be a problem.

Thanks again,

-Drew
 
Old 01-07-2009, 10:35 AM   #7
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I really don't think QT has anything to do with anything. I just ran configure to double check.

Why would libsndfile need QT? It doesn't. Not that I can see anyway.

Also, I'm using sqlite-3.6.6.2 and libsndfile-1.0.18pre24h compiles just fine against it. No need for any extra arguments...
 
Old 01-07-2009, 12:47 PM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You'll like this solution Drew:
src2pkg http://www.mega-nerd.com/tmp/libsndf...8pre24h.tar.gz
That works even with my older sqlite3-3.5.6 here.
 
Old 01-08-2009, 07:09 AM   #9
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by gnashley View Post
You'll like this solution Drew:
src2pkg http://www.mega-nerd.com/tmp/libsndf...8pre24h.tar.gz
That works even with my older sqlite3-3.5.6 here.
*grin* Of course! I should have tried that.

I really need to check my sqlite installation.

In any event, why does src2pkg work when the Slackbuild script doesn't? What magic have you got going on in there, Gilbert?

Regards,

-Drew
 
Old 01-08-2009, 11:25 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
No, it's not really because of src2pkg. As Jong357 pointed out, it's just the libsndfile version that was the problem. But, since the salckbuild doesn't contain any special instructions, src2pkg easily handles the build without any options. the patch included in tthe SlackBuild is only needed if you are using an old version of flac. If that is your case, still just placing the patch in the current dir will have it applied for you.
Since I have your attention, Drew, I hope you will be able to do a little updating on the wiki soon. I'm getting really close ot a new release of src2pkg, and after 10 months of changes you can imagine how far it has come!
 
Old 01-09-2009, 08:41 AM   #11
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by gnashley View Post
Since I have your attention, Drew, I hope you will be able to do a little updating on the wiki soon. I'm getting really close ot a new release of src2pkg, and after 10 months of changes you can imagine how far it has come!
No problem. Send me an e-mail as soon as things are ready. I'm eager to do a little testing and wiki editing.

Regards,

-Drew
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
faac 1.26 fix when using slackbuilds build script Carpo Slackware 3 10-20-2007 03:09 AM
gphoto2 on slackbuilds.org gibson79 Slackware 6 09-02-2007 09:21 AM
slackbuilds.org harkonen Slackware 16 08-22-2007 02:01 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
Are there any SlackBuilds for Firefox 1.5 (build from source) spinner_0 Slackware 7 01-18-2006 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration