Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.io.image bob.io.image
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.io.imagebob.io.image
  • Issues
  • #17
Closed
Open
Created Sep 05, 2016 by André Anjos@andre.anjos💬Owner

libjpeg does not get is rpath correctly set inside a conda environment

For some reason, after compiling this module on a conda-based environment on Mac OSX, libjpeg does not get correctly compiled inside the resulting library:

$ otool -L bob/io/image/libbob_io_image.dylib
bob/io/image/libbob_io_image.dylib:
       	@rpath/libbob_io_image.dylib (compatibility version 0.0.0, current version 0.0.0)
       	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
       	@rpath/libbob_io_base.dylib (compatibility version 0.0.0, current version 0.0.0)
       	@rpath/libbob_core.dylib (compatibility version 0.0.0, current version 0.0.0)
       	libjpeg.8.dylib (compatibility version 13.0.0, current version 13.0.0)
       	@rpath/libtiff.5.dylib (compatibility version 8.0.0, current version 8.4.0)
       	@rpath/libgif.7.dylib (compatibility version 8.0.0, current version 8.0.0)
       	@rpath/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)
       	@rpath/libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0)
       	@rpath/libpng16.16.dylib (compatibility version 39.0.0, current version 39.0.0)
       	@rpath/libblitz.0.dylib (compatibility version 1.0.0, current version 1.0.0)
       	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)

As you can see, the libjpeg.8.dylib misses the @rpath entry. It is a bit annoying as the generated library will not run inside gdb and will require a DYLD_LIBRARY_PATH setting before it can run.

The reference environment for this is the one currently provided by bob/bob.admin from_scratch.sh scripts.

@amohammadi: any clues about this one?

Assignee
Assign to
Time tracking