On Tue, May 4, 2010 at 2:04 PM, Juan Romero Pardines <
xtr...@gmail.com> wrote:
> 2010/5/4 Juan Romero Pardines <
xtr...@gmail.com>:
>> 2010/5/4 Jimmy Tang <
jcf...@gmail.com>:
>>
>>> done, it dynamically links now, static linking still fails
>>>
>>> i just did this...
>>>
>>> LDFLAGS += -larchive -lssl -lz -lpthread
>>>
>>> fails with...
>>
>> Do you have pkgconfig and libarchive >= 2.8.0? make sure that you have
>> libarchive.pc and openssl.pc.
>>
yeap all that is there, i made sure of it, it seems like the rhel5 ssl
libraries depend on kerberos5 (kr5b development libraries)
[jtang@duo xbps]$ make
make[1]: Entering directory `/home/jtang/xbps/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jtang/xbps/include'
make[1]: Entering directory `/home/jtang/xbps/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jtang/xbps/lib'
make[1]: Entering directory `/home/jtang/xbps/bin'
make[2]: Entering directory `/home/jtang/xbps/bin/xbps-uhelper'
[CCLD] xbps-uhelper.static
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libcrypto.a(fips.o):
In function `FIPSCHECK_verify':
(.text+0x7fa): warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc
version used for linking
../../lib/libxbps.a(common.o): In function `fetch_netrc_auth':
common.c:(.text+0x209d): warning: Using 'getpwuid' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
../../lib/libxbps.a(common.o): In function `fetch_bind':
common.c:(.text+0x54d): warning: Using 'getaddrinfo' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
../../lib/libxbps.a(common.o): In function `fetch_default_port':
common.c:(.text+0x36a): warning: Using 'getservbyname' in statically
linked applications requires at runtime the shared libraries from the
glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libssl.a(kssl.o):
In function `get_rc_clockskew':
(.text+0xbe): undefined reference to `krb5_rc_default'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libssl.a(kssl.o):
In function `get_rc_clockskew':
(.text+0xd0): undefined reference to `krb5_rc_initialize'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libssl.a(kssl.o):
In function `get_rc_clockskew':
(.text+0xf0): undefined reference to `krb5_rc_get_lifespan'
i think its just a case of figuring out the dependancies and
installing them and giving
vars.mk the correct static_libs flags
jimmy