bugSearduino - Bugs: bug #35965, Run time path into binaries

 
 

bug #35965: Run time path into binaries

Submitted by:  Henrik Sandklef <hesa>
Submitted on:  Fri 23 Mar 2012 05:10:14 PM UTC  
 
Category: Searduinostub / Faked arduinoSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: Henrik Sandklef <hesa>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 26 Mar 2012 11:47:16 AM UTC, comment #4:

Re-opening bug since some new MAC info has arrived.

Will look at this on Tuesday March 27.

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Sat 24 Mar 2012 12:11:33 PM UTC, comment #3:

Oops, I probably should have signed the last comment....
It was from me.
/Viktor

Anonymous
Sat 24 Mar 2012 12:10:10 PM UTC, comment #2:

On my Mac otool -L gives this result:

$ otool -L /opt/searduino/bin/searduino-stream-sim
/opt/searduino/bin/searduino-stream-sim:
/usr/local/lib/libsearduinostub.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/lib/libarduino-code.0.dylib (compatibility version 1.0.0, current version 1.0.0)

It works if I change the install-name of the libraries (with install_name_tool) to /opt/searduino/lib/libsearduinostub.0.dylib
/opt/searduino/lib/libarduino-code.0.dylib

My guess is that for some reason the prefix isn't translated into the install-name of the libraries.

Anonymous
Sat 24 Mar 2012 10:14:20 AM UTC, comment #1:

On my laptop (running Debian GNU/Linux) the r path is ok. After configure, make, make install I check the r path like this:

#chrpath -l /opt/searduino/bin/searduino-stream-sim
/opt/searduino/bin/searduino-stream-sim: RPATH=/opt/searduino/lib

So it seems ok

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Fri 23 Mar 2012 05:10:14 PM UTC, original submission:

Especially for Mac/Darwin it seems necessary to have the run time path (thanks Viktor!!) so this will be added.

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hesa (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to 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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Mar 2012 11:34:34 AM UTChesaOpen/ClosedOpen=>Closed
    Mon 26 Mar 2012 11:47:16 AM UTChesaOpen/ClosedClosed=>Open
    Sat 24 Mar 2012 01:57:24 PM UTChesaOpen/ClosedOpen=>Closed
    Sat 24 Mar 2012 10:14:48 AM UTChesaStatusNone=>Works For Me
      Assigned toNone=>hesa

    Back to the top


    Powered by Savane 3.1-cleanup1