I've spent nearly 2 days trying to build a library called liblrdf.  Among
its dependencies is libraptor.  Initially, I downloaded the source for both
libs, built libraptor and then tried to build liblrdf.  At the liblrdf stage
I got this error:-

*** Warning: This system can not link to static lib archive
/usr/local/lib/libraptor.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have

Sure enough, libraptor had been built into a static lib.  I uninstalled it
and downloaded the pre-built devel version from one of cygwin's mirrors.
Fortunately, this was already a shared object so I could then build liblrdf
successfully.  But although my own project can link to librdf, the linker
complains that liblrdf hasn't linked properly to libraptor.

Thinking that there might be something wrong with libraptor, my next
move was to uninstall it and re-install the version in cygwin-ports.
Unfortunately, this gives me exactly the same problem.

The only thing left that I can think of is to uninstall liblrdf and rebuild
liblrdf using cygport.  I'm assuming it'll do a better job than I'm doing
myself but to be honest, I don't even know what I'm doing wrong.  Is this
the kind of problem that cygport might be able to avoid?

Thanks,

John


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to