<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Thanks Jed,<br><br>Jane, please review this patch. Did you compile cgm trunk against OpenCascade ?<br>On my laptop (ubuntu 12.04), I need something like this. Maybe I am adding too much, maybe only occ lib path should be added, we have a variable OCC_LIB_FLAG, that usually is defined with -L/path/to/occ/lib, after configuration.<br><br>Thanks,<br>Iulian<br><br><br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Iulian Grindeanu <iulian@mcs.anl.gov> writes:<br>> We recommend using the LD_LIBRARY_PATH;<br><br>LD_LIBRARY_PATH is irrelevant at build time.  It is an alternative to<br>setting RPATH in the build (-Wl,-rpath,/path/to/opencascade/lib with a<br>gcc-style toolchain), but not an alternative to a library path<br>(-L/path/to/opencascade/lib).  LIBRARY_PATH is formally an alternative<br>to -L, but it is almost never used.  Depending on environment variables<br>to locate libraries is fragile as hell, and totally non-standard for<br>autotools builds.<br><br>> (I know many hate it, especially because of interaction with<br>> autotools). Do you recommend a better solution? <br><br>Pass -L/path/to/opencascade/lib.<br></blockquote><br></div></body></html>