libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple definitions on Darwin, using convenience libs


From: Peter O'Gorman
Subject: Re: Multiple definitions on Darwin, using convenience libs
Date: Wed, 05 Jul 2006 22:47:37 +0900

On Wed, 2006-07-05 at 15:16 +0200, Florian Schricker wrote:
> Libtool then goes trying to put things together; the call is:         
> /bin/sh ../libtool --mode=link g++  -g -O2
>  -L/Users/eyerq/local/lib/re-group -o libgreql.la -rpath
>  /Users/eyerq/local/lib/re-group -version-info 1:0:0 greql.lo
>  ../pdlst/libpdlst.la ../tsystem/libtsystem.la
>  ../optimize/liboptimize.la ../regexp/libregexp.la ../error/liberror.la
>  ../repre/librepre.la ../path/libpath.la ../cvalue/libcvalue.la
>  ../pathinterface/libpathinterface.la ../coreval/libcoreval.la
>  ../eval/libeval.la ../funbig/libfunbig.la ../inline/libinline.la
>  ../queryresult/libqueryresult.la ../schema/libschema.la
>  ../queryevaluator/libqueryevaluator.la -L/Users/eyerq/local/lib
>  -lxerces-c -lrgutil 

> g++ -dynamiclib  -single_module -flat_namespace
>  -undefined suppress -o .libs/libgreql.1.dylib  .libs/greql.o
>  -all_load  ../pdlst/.libs/libpdlst.a ../tsystem/.libs/libtsystem.a
>  /Users/eyerq/local/lib/re-group/libgralab.5.0.0.dylib
>  -L/Users/eyerq/local/lib -lxerces-c
>  /Users/eyerq/local/lib/re-group/librgutil.1.0.0.dylib  -install_name 
>  /Users/eyerq/local/lib/re-group/libgreql.1.dylib
>  -compatibility_version 2 -current_version 2.0

You seem to have an interesting mixture of libtool versions, getting
both -single_module and -all_load when you did not add them to the
libtool line. Is this a modified GNU libtool?

Anyway, update to latest stable libtool, and ensure that the libtool.m4
that is used by aclocal also comes from that libool version.

Peter



Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]