[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: usr-apps/gsldapwebexplorer: ld cannot find -lGSANTLR_d
From: |
Samuel Harvey |
Subject: |
Re: usr-apps/gsldapwebexplorer: ld cannot find -lGSANTLR_d |
Date: |
Fri, 24 Oct 2008 19:03:24 +0000 |
On Fri, Oct 24, 2008 at 11:40 AM, David Ayers <ayers@fsfe.org> wrote:
> Am Freitag, den 24.10.2008, 12:34 +0100 schrieb Nicola Pero:
>> >>
>> > gsldapwebexplorer/Makefike.preamble contains the following line:
>> > ADDITIONAL_LDFLAGS = -lGSANTLR -lGSWeb -lgnustep-db2
>> > -lgnustep-db2control -lgsldap
>>
[snip]
>> > You seem to have a debug flag set that causes gnustep-make to use debug
>> > libraries. So it is trying to link against libGSANTLR_d.so which should
>> > presumably be located in /usr/GNUstep/Local/Library/Libraries if the
>> > installation of gsantlr went well.
>>
>> PS: The distinction between debug and non-debug libraries has been removed
>> in gnustep-make v2.0, which is why libGSANTL_d will never exist or be found
>> ;-)
>
> Which is a good thing!
>
> Thanks!
> David
<summary>
/usr/bin/ld: cannot find -lgnustep-db2
</summary>
<shell>
modules/usr-apps/gsldapwebexplorer $ make messages=yes
[snip]
Making all for gswapp GSLDAPWebExplorer...
gcc -lGSANTLR -lGSWeb -lgnustep-db2 -lgnustep-db2control -lgsldap
`Magick-config --ldflags --libs` -fgnu-runtime -o
GSLDAPWebExplorer.gswa/./GSLDAPWebExplorer \
./obj/Main.m.o ./obj/GSLDAPWESession.m.o
./obj/GSLDAPWebExplorer.m.o ./obj/GSLDAPWebExplorer_main.m.o
./obj/GSLDAPWEParameters.m.o ./obj/GSLDAPWETree.m.o
./obj/GSLDAPWETemplate.m.o ./obj/GSLDAPWEEntryPage.m.o
./obj/GSLDAPWESchema.m.o ./obj/GSLDAPWESchemaElementBase.m.o
./obj/GSLDAPWESchemaObjectClass.m.o ./obj/GSLDAPWESchemaAttribute.m.o
./obj/GSLDAPWESchemaSyntax.m.o ./obj/GSLDAPWESchemaMatchingRule.m.o
./obj/GSLDAPWESchemaElementPage.m.o -L../src/./obj
-L/usr/GNUstep/System/lib -L/.
-L/home/kephnos/GNUstep/Library/Libraries
-L/usr/GNUstep/Local/Library/Libraries
-L/usr/GNUstep/System/Library/Libraries -lgnustep-base
-lpthread -lobjc -lm
/usr/bin/ld: cannot find -lgnustep-db2
collect2: ld returned 1 exit status
make[1]: *** [GSLDAPWebExplorer.gswa/./GSLDAPWebExplorer] Error 1
make: *** [GSLDAPWebExplorer.all.gswapp.variables] Error 2
</shell>
Sam H