[cgma-dev] Problem building CGM in shared mode
Tim Tautges
tautges at mcs.anl.gov
Thu May 6 17:31:46 CDT 2010
Doesn't it also have to be in your PATH? I seem to recall that...
- tim
Rajeev Jain wrote:
> On 05/06/2010 04:26 PM, Robert Smith wrote:
>> Is there some trick to getting CGM to build with --enable-shared?
>> This also has Cubit turned on.
>>
>> I tried running the configure as it is done on the buildbot server and
>> I continually get an error when it tries to link libcgm.la. It says
>> that '/bin/ld cannot find -lcubiti19'. That makes sense since there
>> is no -L switch to point to the Cubit install directory in the link
>> line although the libcubiti19.so file is included explicitly in the
>> libtool line. And the output of the make is slightly different on my
>> build than the buildbot build.
>>
>> Could this be a libtool mismatch? I'm on the ANL Linux cluster
>> running 1.5.26.
>>
>> --Bob
> Adding LDFLAGS=-L/home/rajeev/cubit-32/bin LIBS=-lcubiti19 to the
> configure script did the trick for cubit-32 using 32 bit ubuntu-10.04,
> This can be found at http://trac.mcs.anl.gov/projects/ITAPS/ticket/158
>
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the cgma-dev
mailing list