[postgis-users] shapelib Frank Wanderman
pinktomate
pinktomate at spymac.com
Fri Oct 1 09:57:30 PDT 2004
ok frank there is
fedora core 2
postgis 0.8.2
postgresql 7.4.5
shapelib-1.2.10
my instalation is:
[root at sig shapelib-1.2.10]# make lib lib_install
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\"
-DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I. -I/usr/local/include -g
-O2 -c shpopen.c
mkdir .libs
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC shpopen.c -o
.libs/shpopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c shpopen.c -o shpopen.o >/dev/null 2>&1
mv -f .libs/shpopen.lo shpopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC shpopen.c -o
.libs/shpopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c shpopen.c -o shpopen.o >/dev/null 2>&1
mv -f .libs/shpopen.lo shpopen.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\"
-DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I. -I/usr/local/include -g
-O2 -c shptree.c
rm -f .libs/shptree.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC shptree.c -o
.libs/shptree.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c shptree.c -o shptree.o >/dev/null 2>&1
mv -f .libs/shptree.lo shptree.lo
rm -f .libs/shptree.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC shptree.c -o
.libs/shptree.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c shptree.c -o shptree.o >/dev/null 2>&1
mv -f .libs/shptree.lo shptree.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\"
-DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I. -I/usr/local/include -g
-O2 -c dbfopen.c
rm -f .libs/dbfopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC dbfopen.c -o
.libs/dbfopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c dbfopen.c -o dbfopen.o >/dev/null 2>&1
mv -f .libs/dbfopen.lo dbfopen.lo
rm -f .libs/dbfopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c -fPIC -DPIC dbfopen.c -o
.libs/dbfopen.lo
gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -I.
-I/usr/local/include -g -O2 -c dbfopen.c -o dbfopen.o >/dev/null 2>&1
mv -f .libs/dbfopen.lo dbfopen.lo
/bin/sh ./libtool --mode=link gcc -g -O2 -o libshp.la -rpath
/usr/local/lib -version-info 1:1:0 shpopen.lo shptree.lo dbfopen.lo
rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.*
gcc -shared shpopen.lo shptree.lo dbfopen.lo -lc -Wl,-soname
-Wl,libshp.so.1 -o .libs/libshp.so.1.0.1
(cd .libs && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1)
(cd .libs && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so)
ar cru .libs/libshp.a shpopen.o shptree.o dbfopen.o
ranlib .libs/libshp.a
creating libshp.la
(cd .libs && rm -f libshp.la && ln -s ../libshp.la libshp.la)
rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.*
rm -fr .libs/libshp.lax
mkdir .libs/libshp.lax
/usr/bin/ld -G -h libshp.so.1 -o .libs/libshp.so.1.0.1 shpopen.lo
shptree.lo dbfopen.lo -lc
(cd .libs && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1)
(cd .libs && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so)
ar cru .libs/libshp.a shpopen.o shptree.o dbfopen.o
ranlib .libs/libshp.a
rm -fr .libs/libshp.lax
(cd .libs && rm -f libshp.la && ln -s ../libshp.la libshp.la)
cp .libs/libshp.la .libs/libshp.lai
/bin/sh ./mkinstalldirs /usr/local/lib
/bin/sh ./libtool --mode=install /usr/bin/install -c libshp.la
/usr/local/lib/libshp.la
/usr/bin/install -c .libs/libshp.so.1.0.1 /usr/local/lib/libshp.so.1.0.1
(cd /usr/local/lib && rm -f libshp.so.1 && ln -s libshp.so.1.0.1
libshp.so.1)
(cd /usr/local/lib && rm -f libshp.so && ln -s libshp.so.1.0.1
libshp.so)
/usr/bin/install -c .libs/libshp.lai /usr/local/lib/libshp.la
/usr/bin/install -c .libs/libshp.a /usr/local/lib/libshp.a
ranlib /usr/local/lib/libshp.a
chmod 644 /usr/local/lib/libshp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c .libs/libshp.so.1.0.1
/usr/local/lib/libshp.so.1.0.1
(cd /usr/local/lib && rm -f libshp.so.1 && ln -s libshp.so.1.0.1
libshp.so.1)
(cd /usr/local/lib && rm -f libshp.so && ln -s libshp.so.1.0.1
libshp.so)
chmod +x /usr/local/lib/libshp.so.1.0.1
/usr/bin/install -c .libs/libshp.la /usr/local/lib/libshp.la
/usr/bin/install -c .libs/libshp.a /usr/local/lib/libshp.a
ranlib /usr/local/lib/libshp.a
chmod 644 /usr/local/lib/libshp.a
/bin/sh ./mkinstalldirs /usr/local/include/libshp
/usr/bin/install -c -m 644 shapefil.h
/usr/local/include/libshp/shapefil.h
and after the commands are missing, must be activated since the
directory, the better way is activate them in any console
El vie, 01-10-2004 a las 11:45, Frank Warmerdam escribió:
> pinktomate wrote:
> > Thanks Frank
> >
> > No it does'nt work
> >
> > the commands not appear in console
> >
> > what more can I do, I need to configure a Environment Var???
> >
>
> Pinktomate,
>
> I think we can take this off the PostGIS list.
>
> What platform are you on? What command did you issue and what was
> the exact response? What version of shapelib are you using?
>
> Best regards,
More information about the postgis-users
mailing list