bugGNUstep - Bugs: bug #37706, SQLClient links explicitly against...


You are not allowed to post comments on this tracker with your current authentication level.

bug #37706: SQLClient links explicitly against -lobjc

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sat 10 Nov 2012 09:35:52 AM UTC  
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 10 Nov 2012 03:12:38 PM UTC, comment #2:

If I would have been aware of those two variables, I'd probably have proposed the same patch.

Works like a charm for me.


Sebastian Reitenbach <buzzdee>
Project Member
Sat 10 Nov 2012 01:35:50 PM UTC, comment #1:


I replaced all occurrences of -lobjc and -lgnustep-base with gnustep-make's $(FND_LIBS) and $(OBJC_LIBS) variables, which should do the right thing. Please test...



Niels Grewe <thebeing>
Project Member
Sat 10 Nov 2012 09:35:52 AM UTC, original submission:


on OpenBSD I have libobjc2 installed as libobjc2.so.X.X, so gnustep-make is told to link against -lobjc2. Since in the GNUmakefile of SQLClient, the linker is told explicitly to link
against -lobjc using the XXX_libs_BUNDLE_LIBS = variable.

Because of that statement, and because gnustep-make is told to link against -lobjc2, it basically links against both libobjc libraries, which is not so nice.

Maybe in the configure stage, the right -lobjc parameter can be detected, and then later used? I.e. using gnustep-config --objc-libs or gnustep-config --base-libs ??

Sebastian Reitenbach <buzzdee>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by thebeing (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 10 Nov 2012 06:14:17 PM UTC thebeing StatusReady For Test => Fixed
        Open/ClosedIn Test => Closed
    Sat 10 Nov 2012 01:35:50 PM UTC thebeing StatusNone => Ready For Test
        Open/ClosedOpen => In Test

    Back to the top

    Powered by Savane 3.3