[gradsusr] problem compiling shapelib
Arlindo da Silva
dasilva at alum.mit.edu
Wed Jul 21 17:15:34 EDT 2010
On Wed, Jul 21, 2010 at 10:35 AM, Huber Paúl Gilt López <
huber.gilt at igp.gob.pe> wrote:
> Hello Everybody,
>
>
>
> I have problem compiling SHAPELIB library, after I executed these commands,
> I found the following errors, please help me.
>
>
>
Have you considered using the pre-compiled (opengrads) supplibs? Or even
compiling from the (opengrads) supplibs mega-tarball? The top makefile there
handles all the necessary config parameters. More info here:
http://opengrads.org/wiki/index.php?title=Supplemental_Libraries_%28Supplibs%29
Arlindo
> I think the –soname argument is optional? if not How can I change it?
>
>
>
> (The errors are in the end)
>
>
>
> Best regards
>
> Huber Gilt
>
>
>
>
>
> cd $HOME/supplibs/src/
> tar xvfz tarfiles/shapelib-1.2.10.tar.gz
> cd shapelib-1.2.10/
> make lib
>
>
>
>
>
> gcc -shared shpopen.lo shptree.lo dbfopen.lo -Wl,-soname -Wl,libshp.so.1
> -o .libs/libshp.so.1.0.1
>
> ld: Unrecognized argument: -soname
>
> Fatal error.
>
> collect2: ld returned 1 exit status
>
> make: *** [lib] Error 1
>
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100721/b93eb1d6/attachment-0003.html
More information about the gradsusr
mailing list