[Mapserver-users] Solution: Compilation problem / don't dfind libproj.so.0

Till Adams adams@terrestris.de
Fri, 23 May 2003 15:25:44 +0200


--------------060107040709090201050500
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dear list,

just for archive-purposes, because I didn't really find the right 
solution in the archives:

Anyway, thanks to Lowell who pointed me to the right direction (although 
I already did what he wrote, but I did it wrong).

The solution came up, when using /sbin/ldconfig -v because ldconfig 
didn't scan in /usr/local/lib/
So the solution is running

"/sbin/ldconfig /usr/local/lib -v"

instead of "/sbin/ldconfig", if libproj.so.0 is located in "/usr/local/lib"

Then trying the ./mapserv and it worked!

Have a nice weekend ..

Till



Lowell Filak schrieb:

>You probably already checked this but, is /usr/local/lib in /etc/ld.so.conf?
>Lowell F.
>
>The following message was sent by Till Adams <adams@terrestris.de> on Fri, 23 May 2003 12:44:28 +0200.
>
>  
>
>>Problem:
>>
>>"./mapserv: error while loading shared libraries: libproj.so.0: cannot 
>>open shared object file: No such file or directory"
>>
>>When I search for the file "libproj.so.0" I find it in "/usr/local/lib". 
>>I installed LinPNG, LibTIFF, PROJ4, W3c-LibWWW, Freetype2, GD2, ...
>>
>>Any ideas? Many thanks in advance :-) :-) :-) .
>>
>>Second question: I used the manual from Yann and Prasad, posted several 
>>weeks ago, but this is based on ms 3.7. Where can I get the pre-release?
>>
>>Thanks in advance,
>>Till
>>
>>
>>    
>>

-- 

***** Treffen Sie uns auf der AGIT in Salzburg vom 2. bis 4. Juli 2003, Stand 35 *****

-----

Dipl. Geogr. Till Adams
terrestris, Paulsen&Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
info@terrestris.de * www.terrestris.de



--------------060107040709090201050500
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
<small><font face="Courier New, Courier, monospace">Dear list,<br>
<br>
just for archive-purposes, because I didn't really find the right solution
in the archives:<br>
<br>
Anyway, thanks to Lowell who pointed me to the right direction (although
I already did what he wrote, but I did it wrong).<br>
<br>
The solution came up, when using /sbin/ldconfig -v because ldconfig didn't
scan in /usr/local/lib/<br>
So the solution is running<br>
<br>
"/sbin/ldconfig /usr/local/lib -v"<br>
<br>
instead of "/sbin/ldconfig", if</font></small> <small><font
 face="Courier New, Courier, monospace">libproj.so.0 is located in "/usr/local/lib"</font></small><br>
<small><font face="Courier New, Courier, monospace"><br>
Then trying the ./mapserv and it worked!<br>
<br>
Have a nice weekend ..<br>
<br>
Till<br>
<br>
<br>
</font></small><br>
Lowell Filak schrieb:<br>
<blockquote type="cite"
 cite="mid200305231218.h4NCI2N03591@yogi.medinaco.net">
  <pre wrap="">You probably already checked this but, is /usr/local/lib in /etc/ld.so.conf?
Lowell F.

The following message was sent by Till Adams <a class="moz-txt-link-rfc2396E" href="mailto:adams@terrestris.de">&lt;adams@terrestris.de&gt;</a> on Fri, 23 May 2003 12:44:28 +0200.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Problem:

"./mapserv: error while loading shared libraries: libproj.so.0: cannot 
open shared object file: No such file or directory"

When I search for the file "libproj.so.0" I find it in "/usr/local/lib". 
I installed LinPNG, LibTIFF, PROJ4, W3c-LibWWW, Freetype2, GD2, ...

Any ideas? Many thanks in advance :-) :-) :-) .

Second question: I used the manual from Yann and Prasad, posted several 
weeks ago, but this is based on ms 3.7. Where can I get the pre-release?

Thanks in advance,
Till


    </pre>
  </blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 

***** Treffen Sie uns auf der AGIT in Salzburg vom 2. bis 4. Juli 2003, Stand 35 *****

-----

Dipl. Geogr. Till Adams
terrestris, Paulsen&amp;Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
<a class="moz-txt-link-abbreviated" href="mailto:info@terrestris.de">info@terrestris.de</a> * <a class="moz-txt-link-abbreviated" href="http://www.terrestris.de">www.terrestris.de</a></pre>
<br>
</body>
</html>

--------------060107040709090201050500--

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users