Opened 3 years ago

Closed 3 years ago

#1 closed defect (fixed)

Dynamic libraries on OSX not functioning

Reported by: mkass Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: OSX, shared libs Cc:

Description

When using shared libraries:
BUILD_SHARED_LIBS OFF

compilation with

make install

appears to proceed normally. However, when running any example executable output, the error:

dyld: Library not loaded: @rpath/libfem4ellipticpde.dylib
  Referenced from: /usr/local/Lemma/share/FEM4EllipticPDE/./ResampleWithDataset
  Reason: image not found
Trace/BPT trap: 5

appears.

CMake version: 3.5.1
Git commit (Lemma master): 5c7dffaa3bf94eb7a58ac63b63072e15d2a02285
Mac OSX: El Capitan 10.11.3

Change History (1)

comment:1 Changed 3 years ago by mkass

  • Resolution set to fixed
  • Status changed from new to closed

Appears to have been corrected or corrected itself. Tested on two Mac systems.

Note: See TracTickets for help on using tickets.