Opened 12 years ago
Closed 12 years ago
#2315 closed defect (fixed)
Cannot find dgesv on OSX 10.6
| Reported by: | fran_Jo | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.0 |
| Component: | OMEdit | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by )
I have installed OpenModelica via MacPorts using the instructions in the web, and installing openmodelica-release. I use OMEdit under MacOSX 10.6.8.
The model is a simple RL Circuit.
Translation 13:40:22 0:0-0:0 Error building simulator. Build log: /usr/bin/gcc-4.2 -falign-functions -msse2 -mfpmath=sse -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o RLCircuit.o RLCircuit.c
/usr/bin/gcc-4.2 -falign-functions -msse2 -mfpmath=sse -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o RLCircuit_records.o RLCircuit_records.c
/usr/bin/g++-4.2 -I. -o RLCircuit RLCircuit.o RLCircuit_records.o -I"/opt/local/include/omc" -I. -L"/Users/Cesc/Proyectos/Modelica" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -L"/Users/Cesc/Proyectos/Modelica" -falign-functions -msse2 -mfpmath=sse -L"/opt/local/lib/omc" -Wl,-rpath,'/opt/local/lib/omc' -lSimulationRuntimeC -ldl -linteractive -lexpat -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -lintl -liconv -lgc -llapack -lpthread -lf2c
Undefined symbols:
"_dgesv_", referenced from:
_solveLapack in libSimulationRuntimeC.a(libSimulationRuntimeC.a.o)
_solveNewton in libSimulationRuntimeC.a(libSimulationRuntimeC.a.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [omc_main_target] Error 1
Attachments (1)
Change History (5)
by , 12 years ago
| Attachment: | RLCircuit.mo added |
|---|
comment:1 by , 12 years ago
| Description: | modified (diff) |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 12 years ago
I have these symbols in OSX 10.8:
$ nm /usr/lib/liblapack.dylib | grep _dgesv_ 00000000000010c8 T $ld$hide$os10.4$_dgesv_ 00000000000010c8 T $ld$hide$os10.5$_dgesv_ 00000000000010c8 T $ld$hide$os10.6$_dgesv_ 000000000022ea2e T _dgesv_
$ nm /usr/lib/libblas.dylib | grep _dgesv_ 0000000000010c05 T $ld$hide$os10.7$_dgesv_ 0000000000010c05 T $ld$hide$os10.8$_dgesv_ 0000000000003ec2 T _dgesv_
Adeel: Can you test if linking also -lblas makes OSX 10.6 work? Which OSX versions did you have on the laptop and on the VM?
comment:3 by , 12 years ago
| Summary: | Error building simulation → Cannot find dgesv on OSX 10.6 |
|---|
Note:
See TracTickets
for help on using tickets.

RL Circuit