No subject


Tue May 5 08:38:44 EST 2009


/usr/bin/ld: cannot find -lproj

collect2: ld returned 1 exit status

It seems that 'proj' package is not installed in your Red Hat Linux. You
need to install it first. Please correct me if anyone else finds this is no=
t
the root cause for the problem.

Best Regards,

/Hao

On Thu, Jan 21, 2010 at 1:28 AM, Reyes, Jr., Buenaventura L. <
reyesb at philhealth.gov.ph> wrote:

>   Hello,
>
>
>
> I am using Red Hat Linux Ent. 5 and is compiling
> /home/shapelib-1.2.10/contrib folder. I am encoutering an error which I
> could not resolve. I am not familiar in using Linux and C, but below is t=
he
> error that I received.
>
>
>
> /home/shapelib-1.2.10/contrib$ make
>
> cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2  shpproj.c
> ../shpopen.o ../dbfopen.o  ./shpgeo.o -lm -lproj -lm -lproj  -o shpproj
>
> shpproj.c: In function =C3=A2=E2=82=AC=CB=9Cmain=C3=A2=E2=82=AC=E2=84=A2:
>
> shpproj.c:121: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:139: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:140: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:152: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:156: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:168: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:169: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:180: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:184: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2
>
> shpproj.c:227: warning: incompatible implicit declaration of built-in
> function =C3=A2=E2=82=AC=CB=9Cmemcpy=C3=A2=E2=82=AC=E2=84=A2
>
> /usr/bin/ld: cannot find -lproj
>
> collect2: ld returned 1 exit status
>
> make: *** [shpproj] Error 1
>
>
>
> I am using FGS MapServer 5.4.0, any help would be appreciated or can you
> please direct me to a link where I can resolve this issue.
>
>
>
> Thanks,
>
> *Buenaventura L. Reyes, Jr. *
>
> Philippine Health Insurance Corporation
>
> Manila, Philippines
>
>
>
> _______________________________________________
> Foss-gis-suite mailing list
> Foss-gis-suite at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/foss-gis-suite
>
>

--00504502ce40fa343e047da8f6af
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Reyes,<br><br>From these two lines of output you pasted:<br><p class=3D"=
MsoNormal"><span style=3D"font-size: 10pt;">/usr/bin/ld:
cannot find -lproj</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">collect2:
ld returned 1 exit status</span></p><p class=3D"MsoNormal">It seems that &#=
39;proj&#39; package is not installed in your Red Hat Linux. You need to in=
stall it first. Please correct me if anyone else finds this is not the root=
 cause for the problem.</p>
<p class=3D"MsoNormal">Best Regards,</p><p class=3D"MsoNormal">/Hao<br></p>=
<br><div class=3D"gmail_quote">On Thu, Jan 21, 2010 at 1:28 AM, Reyes, Jr.,=
 Buenaventura L. <span dir=3D"ltr">&lt;<a href=3D"mailto:reyesb at philhealth.=
gov.ph">reyesb at philhealth.gov.ph</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div bgcolor=3D"white" background=3D"?ui=3D2&amp;ik=3D06be7b7f03&amp;view=
=3Datt&amp;th=3D1264e47e6c1cd979&amp;attid=3D0.0.1&amp;disp=3Demb&amp;zw" l=
ink=3D"blue" vlink=3D"purple" style=3D"margin-left: 37.5pt;" lang=3D"EN-US"=
>
<img src=3D"cid:image001.jpg at 01CA9397.921F9AD0" style=3D"width: 0pt; min-he=
ight: 0pt;" width=3D"0" height=3D"0">

<div>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">Hello,</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">=C2=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">I
am using Red Hat Linux Ent. 5 and is compiling /home/shapelib-1.2.10/contri=
b
folder. I am encoutering an error which I could not resolve. I am not famil=
iar
in using Linux and C, but below is the error that I received.</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">=C2=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">/home/shapelib-1.2.=
10/contrib$
make</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">cc
-g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2=C2=A0 shpproj.c=C2=A0 ../=
shpopen.o
../dbfopen.o=C2=A0 ./shpgeo.o -lm -lproj -lm -lproj=C2=A0 -o shpproj</span>=
</p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:
In function =C3=A2=E2=82=AC=CB=9Cmain=C3=A2=E2=82=AC=E2=84=A2:</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:121:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:139:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:140:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:152:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:156:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:168:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:169:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:180:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrlen=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:184:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cstrcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">shpproj.c:227:
warning: incompatible implicit declaration of built-in function =C3=A2=E2=
=82=AC=CB=9Cmemcpy=C3=A2=E2=82=AC=E2=84=A2</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">/usr/bin/ld:
cannot find -lproj</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">collect2:
ld returned 1 exit status</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">make:
*** [shpproj] Error 1</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">=C2=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 10pt;">I
am using FGS MapServer 5.4.0, any help would be appreciated or can you plea=
se direct
me to a link where I can resolve this issue.</span></p>

<p class=3D"MsoNormal">=C2=A0</p>

<div>

<p class=3D"MsoNormal"><span style=3D"font-size: 11pt;">Thanks,</span></p>

<p class=3D"MsoNormal"><b><span style=3D"font-size: 11pt; color: rgb(0, 51,=
 0);">Buenaventura L. Reyes, Jr. </span></b></p>

</div>

<p class=3D"MsoNormal"><span style=3D"font-size: 11pt;">Philippine
Health Insurance Corporation</span></p>

<p class=3D"MsoNormal"><span style=3D"font-size: 8pt;">Manila,
Philippines</span></p>

<p class=3D"MsoNormal">=C2=A0</p>

</div>

</div>


<br>_______________________________________________<br>
Foss-gis-suite mailing list<br>
<a href=3D"mailto:Foss-gis-suite at lists.maptools.org">Foss-gis-suite at lists.m=
aptools.org</a><br>
<a href=3D"http://lists.maptools.org/mailman/listinfo/foss-gis-suite" targe=
t=3D"_blank">http://lists.maptools.org/mailman/listinfo/foss-gis-suite</a><=
br>
<br></blockquote></div><br>

--00504502ce40fa343e047da8f6af--
--00504502ce40fa3448047da8f6b0
Content-Type: image/jpeg; name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg at 01CA9397.921F9AD0>
X-Attachment-Id: 0.0.1

/9j/4AAQSkZJRgABAgEASABIAAD/7QSyUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAAHgAAwAAAEgA
SAAAAAADBgJS//f/9wMPAlsDRwUoA/wAAgAAAEgASAAAAAAC2AIoAAEAAABkAAAAAQADAwMAAAAB
Jw8AAQABAAAAAAAAAAAAAAAAYAgAGQGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4
QklNA+0AAAAAABAASAAAAAEAAQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAA
AAEAADhCSU0nEAAAAAAACgABAAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEA
L2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklN
A/gAAAAAAHAAAP////////////////////////////8D6AAAAAD/////////////////////////
////A+gAAAAA/////////////////////////////wPoAAAAAP//////////////////////////
//8D6AAAOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAADhCSU0ECAAAAAAAEAAAAAEAAAJAAAAC
QAAAAAA4QklNBAkAAAAAAqIAAAABAAAAgAAAAAIAAAGAAAADAAAAAoYAGAAB/9j/4AAQSkZJRgAB
AgEASABIAAD//gAnRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rvc2hvcKggNC4wAP/uAA5BZG9i
ZQBkgAAAAAH/2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwM
DAwMDAwMDAwMDAwMDAwMDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwR
DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAAIAgAMBIgACEQEDEQH/3QAEAAj/xAE/
AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAEAAgMEBQYHCAkK
CxAAAQQBAwIEAgUHBggFAwwzAQACEQMEIRIxBUFRYRMicYEyBhSRobFCIyQVUsFiMzRygtFDByWS
U/Dh8WNzNRaisoMmRJNUZEXCo3Q2F9JV4mXys4TD03Xj80YnlKSFtJXE1OT0pbXF1eX1VmZ2hpam
tsbW5vY3R1dnd4eXp7fH1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