- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a prgram that we have implemented a new licensing scheme. This licensing scheme comes from Nalperion Software and they use dll's for their licensing integration. I have add the needed information into out program for Windows and Linux and have it running, but on Mac we have a problem. After compiling and then try running we get an error.
[bash]dyld: Library not loaded: libFileMgmt_611_20100602 Referenced from: PATH TO PROGRAM REason: image not found Trace/BPT trap[/bash]
[bash]Nalperion is telling me that we need to dynamicly load the dylib file. Here is how we have incorporated the dylib file[/bash]
[bash]into our coding. (the file is lib/libFileMgmt.dylib)[/bash]
[bash]# Explicit Targets relap5$(NM).x: envrl/envrl$(NM).a matpro/matpro$(NM).a \ relap/relap5.$O relap/relap$(NM).a scdap/scdap$(NM).a \ tpfh2o$(NM) tpfd2o$(NM) $(f90) $(FFLAGS) $(FPSTOP) $(FL) relap/relap5.$O \ relap/relap$(NM).a scdap/scdap$(NM).a \ matpro/matpro$(NM).a scdap/scdap$(NM).a envrl/envrl$(NM).a \ lib/libFileMgmt.dylib -o bin\relap5$(NM).x[/bash]How do we dynamicly load the dylib file? Nalperion is saying that we use dlopen(), dlsym(), dlclose()
Link Copied
0 Replies

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