Skip to content
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

Can't build libgphoto2 2.5.9.1 on OSX, libltdl error #19

Closed
gschwim opened this issue Nov 19, 2015 · 6 comments
Closed

Can't build libgphoto2 2.5.9.1 on OSX, libltdl error #19

gschwim opened this issue Nov 19, 2015 · 6 comments

Comments

@gschwim
Copy link

gschwim commented Nov 19, 2015

On OSX w/ homebrew and xcode.

I acquired the source as follows:

git clone https://github.com/gphoto/libgphoto2

I run autoreconf then ./configure and get the following error:

checking that we can compile and link with libltdl... no
configure: error: cannot compile and link against libltdl
libgphoto2 requires libltdl (the libtool dl* library),
but cannot compile and link against it.
Aborting.

I'm able to repeat this on two different macs. I'm able to compile fine on Ubuntu.

@msmeissn
Copy link
Contributor

On Wed, Nov 18, 2015 at 11:16:39PM -0800, gschwim wrote:

On OSX w/ homebrew and xcode.

I acquired the source as follows:

git clone https://github.com/gphoto/libgphoto2

I run autoreconf then ./configure and get the following error:

checking that we can compile and link with libltdl... no
configure: error: cannot compile and link against libltdl
libgphoto2 requires libltdl (the libtool dl* library),
but cannot compile and link against it.
Aborting.

I'm able to repeat this on two different macs. I'm able to compile fine on Ubuntu.

Alternatively you can download the sourcetarball from http://sf.net/projects/gphoto/

Well, is there a libtool development or libltdl development package on MacOS?

I am not sure about the naming.

(The Travis CI builds find it nicely though, so there must be a package somewhere.)

Ciao, Marcus

@gschwim
Copy link
Author

gschwim commented Nov 19, 2015

The source tarball is 2.5.8. I'm after the sony bulb capabilities that appear to be in 2.5.9.1.

There is a libtool install for homebrew, but not sure that it is providing 100% of what is needed. Oddly, the default homebrew recipe for libgphoto2 builds just fine.

@msmeissn
Copy link
Contributor

i releaed 2.5.9 yesterday, so there are new tarballs since some hours. :)

can you check that?

the libtool install for homebrew should be fine.

@gschwim
Copy link
Author

gschwim commented Nov 19, 2015

Ah, there the are, and they work. Awesome and thank you!

Figured this should also work out of github. I wonder what's different.

----- Original Message -----

From: "Marcus Meissner" notifications@github.com
To: "gphoto/libgphoto2" libgphoto2@noreply.github.com
Cc: "gschwim" schwim@bitrail.com
Sent: Thursday, November 19, 2015 12:42:08 AM
Subject: Re: [libgphoto2] Can't build libgphoto2 2.5.9.1 on OSX, libltdl error (#19)

i releaed 2.5.9 yesterday, so there are new tarballs since some hours. :)

can you check that?

the libtool install for homebrew should be fine.


Reply to this email directly or view it on GitHub .

@msmeissn
Copy link
Contributor

the git checkout is without all the funny automake,libtool etc bells and wrappers that "make dist" already adds. this makes building from git a bit harder than from a tarball.

@gschwim
Copy link
Author

gschwim commented Nov 19, 2015

Got it. Above my head on that, I'm just a lowly network engineer. :)

Thanks for the help. Closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants