bugGNUstep Application Project - Bugs: bug #39960, [MPDCon] assumes libraries to be...

 
 

bug #39960: [MPDCon] assumes libraries to be linked from /usr/local

Submitter:  adr <adr>
Submitted:  Thu 05 Sep 2013 08:30:02 PM UTC
   
 
Category:  Application Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  buzzdee
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Mar 2014 11:43:47 AM UTC, comment #4: 

Thanks for feedback.
MPDCon is, since we took it over on GAP, more or less exclusively developed by me on OpenBSD. Here we install 3rd party packages to /usr/local, and that's the reason why its there.

Instead of using sed to get rid of it, you should be able to build like:

make ADDITIONAL_LDFLAGS="-lmpdclient -lSQLClient"
or similar to override what's in the Makefiles.

So if I understand correctly, its no real issue to you, therefore I'll just close the report. Feel free to reopen if necessary ;)

Sebastian Reitenbach <buzzdee>
Group Member
Thu 06 Mar 2014 09:52:30 PM UTC, comment #3: 

I filed this bug report, when writing installation scripts for Gentoo Linux for myself, and to get MPDCon and deps in the official tree. Recently, a Gentoo dev adopted the scripts, and it's added now. Good for us! :)

Anyway, /usr/lib is in `gcc -print-search-dirs`, and the libraries are perfectly found. The only thing was, that I thought it was not right to mix manually installed libs with system libs by default. But maybe I'm wrong, and it's just a matter of personal taste. I don't know what's Gentoo policy on this.

GNUmakefile.preamble is OK for me. Sorry for the confusion. I couldn't close the bug report myself.

adr <adr>
Thu 06 Mar 2014 06:00:32 PM UTC, comment #2: 

Your libs (I guess especially libmpdclient) are installed in /usr/lib/ and they are not found?

what does:
gcc -print-search-dirs

show, does the libraries: line contains /usr/lib ?


Or does it pick up things in /usr/local/lib that you have manually installed but you do not want to do it?

Sebastian Reitenbach <buzzdee>
Group Member
Sat 14 Dec 2013 12:44:31 PM UTC, comment #1: 

I think now, this thing is not that much of a problem.
Bug report can be closed IMO.

adr <adr>
Thu 05 Sep 2013 08:30:02 PM UTC, original submission:  

Background: https://bugs.gentoo.org/show_bug.cgi?id=480618
MPDCon 1.4

GNUmakefile.preamble is setup to link libraries from /usr/local. Normally they are installed into /usr, at least with Gentoo Linux.

ADDITIONAL_LDFLAGS += -L/usr/local/lib

I applied a sed script to remove it, but a configure option, or something else, would be nice. Cheers!

adr <adr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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 buzzdee (Posted a comment)
  • -email is unavailable- added by adr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-07 buzzdee StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2014-03-06 buzzdee StatusNone Need Info
        Assigned toNone buzzdee

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code