On 09/07/07, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote:
> On Wednesday 04 July 2007 10:48:24 Ludovic Rousseau wrote:
> > AC_LIB_LINKFLAGS() is defined in /usr/share/aclocal/lib-link.m4
> > provided by gettext. So here is the hidden dependency with gettext.
> >
> > I changed configure.in in revision 3202 to use AC_CHECK_LIB() instead
> > of AC_LIB_LINKFLAGS()
>
> Hi Ludovic,
>
> unfortunatly that change didn't work out, now opensc is no longer linked
> with ltdl correctly. For now I reverted your change, but we can apply it again
> after we branched for the release, and then look for the way to fix this again
> and still set LTLIBLTDL to -lltdl (and maybe rename it to LTDL_LIBS while
> doing that).

That is strange since it works for me.

>From ./configure execution I have:
[...]
 checking for flex directory... (system)
 checking for lt_dlopen in -lltdl... yes
 checking ltdl.h usability... yes
 checking ltdl.h presence... yes
 checking for ltdl.h... yes
[...]
 Libraries:           -lltdl -lpthread  -lz
[...]

I guess something is missing in your build setup. What is your output
of my version of configure regarding ltdl?

> I checked the libtool manual, it has three different suggestions how to link
> with libltdl but they all imply to copy the ltdl source into opensc source,
> and I don't want to do that. So as result there is no advice, and ltdl
> doesn't come with a pkg-config file either. Will ask on the libtool mailing
> list for advise ...

With what I propose we use the external library libltdl.
Asking for help from libtool list is a good idea.

I also checked my version on Mac OS X 10.4 and it compiles correctly.

bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to