- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working with OpenSUSE 11.3 which has no TBB available from their package system, so I must deploy the TBB DLLs as private assembly.
I don't want to copy them to /usr/lib nor to add my app's install path to LD_LIBRARY_PATH to avoid conflicts so, ideally, I want to copy the DLLs as:
[PlaceWhereTheUserInstallsMyApp]/MyApp -> My executable file
[PlaceWhereTheUserInstallsMyApp]/libtbb.so
I've seen GCC can use the "rpath" option but I'm not sure how to use it properly and I could not find any reference about how to deploy the TBB's dynamic libraries under linux in the TBB's doc.
Help, please.
thx
I don't want to copy them to /usr/lib nor to add my app's install path to LD_LIBRARY_PATH to avoid conflicts so, ideally, I want to copy the DLLs as:
[PlaceWhereTheUserInstallsMyApp]/MyApp -> My executable file
[PlaceWhereTheUserInstallsMyApp]/libtbb.so
I've seen GCC can use the "rpath" option but I'm not sure how to use it properly and I could not find any reference about how to deploy the TBB's dynamic libraries under linux in the TBB's doc.
Help, please.
thx
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using rpath works well. You can use a special variable in the rpath called $ORIGIN to specific a location relative to your executable. There is a nice writeup here:
Using ORIGIN for a dynamic runtime library search path
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using rpath works well. You can use a special variable in the rpath called $ORIGIN to specific a location relative to your executable. There is a nice writeup here:
Using ORIGIN for a dynamic runtime library search path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, nice! Like the Mac's install_name_tool @executablepath then !

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page