bugGPSD - Bugs: bug #53017, Building libgpsd.dylib neglects to...

 
 

bug #53017: Building libgpsd.dylib neglects to set its install_name

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Tue 30 Jan 2018 04:13:16 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 31 May 2019 03:18:24 PM UTC, comment #2: 

It looks like the library install name is now being set as of https://gitlab.com/gpsd/gpsd/commit/19ee7ead6be107f50bc51ba47386694546e71ebf but it's not correct if DESTDIR is used; I've filed that as https://gitlab.com/gpsd/gpsd/issues/1. And the library versioning issue remains; I've filed that as https://gitlab.com/gpsd/gpsd/issues/2.

Ryan Schmidt <ryandesign>
Fri 31 May 2019 11:07:00 AM UTC, comment #1: 

Unfortunately. we don't have enough MacOS knowledge to apply a fundamental fix.

Normally I'd leave this bug sitting here until we figure this out, but we've moved to a new bugtracker at Gitlab.  Therefore: if this is still a live issue, please refile at https://gitlab.com/gpsd/gpsd/issues

Closing here.

Eric S. Raymond <esr>
Project Administrator
Tue 30 Jan 2018 04:13:16 PM UTC, original submission:  

On macOS, dynamic libraries need to have their install_name set to the absolute path where the library will be installed. The gpsd build system doesn't set this property when building libgpsd.dylib, making it unusable. It also doesn't set the library's current_version or compatibility_version, which should also typically be set to some value meaningful to your library versioning scheme. I don't understand scons well enough to suggest where in the SConstruct file to set these flags.

Ryan Schmidt <ryandesign>

 

(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 esr (Posted a comment)
  • -email is unavailable- added by ryandesign (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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-31 esr Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5