<div dir="ltr">Nevertheless, you should at least be able to link to it if you specify the full path to the library. Where is the CMake code that does TARGET_LINK_LIBRARIES for this lib? Do we use FIND_LIBRARY to get this lib path when linking to it or what?<div>
<br></div><div>Is there a Postgres SQL VTK developer out there?<br><br></div><div><br><div class="gmail_quote">2008/8/29 Darren Weber <span dir="ltr"><<a href="mailto:darren.weber.lists@gmail.com">darren.weber.lists@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><br>For the record, there's some useful information on OS X library paths in <br><pre style="margin:0em">
'man dyld'</pre><br>I assume the binary install of postgreSQL is not adding to one of these path settings.<div><div></div><div class="Wj3C7c"><br>
<br><br><div class="gmail_quote">On Fri, Aug 29, 2008 at 8:47 AM, Darren Weber <span dir="ltr"><<a href="mailto:darren.weber.lists@gmail.com" target="_blank">darren.weber.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

<div dir="ltr"><br>I've got a link error when building VTK on OSX.  I've enabled postgresql and python wrapping.<br><br>[ 73%] Built target vtk<br>Scanning dependencies of target vtkpython<br>[ 73%] Building CXX object Wrapping/Python/CMakeFiles/vtkpython.dir/vtkPythonAppInit.o<br>


Linking CXX executable ../../bin/vtkpython<br>ld: file not found: libpq.5.dylib<br>collect2: ld returned 1 exit status<br>make[2]: *** [bin/vtkpython] Error 1<br>make[1]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/all] Error 2<br>


make: *** [all] Error 2<br><br><br>I've used the binary installer for postgresql, which goes into  /Library/PostgreSQL/8.3/*<br><br>[ dweber@elegans ~/src/kitware/VTK_build ]$ ls /Library/PostgreSQL/8.3/lib/<br>libecpg.6.0.dylib*  libecpg.dylib@             libecpg_compat.a       libpgtypes.3.0.dylib*  libpgtypes.dylib@  libpq.a<br>


libecpg.6.dylib@    libecpg_compat.3.0.dylib*  libecpg_compat.dylib@  libpgtypes.3.dylib@    libpq.5.1.dylib*   libpq.dylib@<br>libecpg.a           libecpg_compat.3.dylib@    libpgport.a            libpgtypes.a           libpq.5.dylib@     postgresql/<br>


[ dweber@elegans ~/src/kitware/VTK_build ]$ <br><br><br>Is this a simple problem of loading up an LD path or something so the build can find it?  What's the best way to do this on OSX?<br><br>Thanks, Darren<br><br></div>


</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br></blockquote></div><br></div></div>