autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Advise Please


From: M. Lavasani
Subject: Advise Please
Date: Mon, 2 Dec 2002 13:26:35 +0000 (GMT)

Hi

I would appreciate if you guide me to the right person.

There are some changes need to be applied to fix some problem in regard to 
HPUX IA64 systems.

Thanks for any help.


                                __Mehdi

1- checking how to recognise dependant libraries:

Currently is :
hpux10.20*|hpux11*)
  lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) 
shared library'
  lt_cv_file_magic_cmd=/usr/bin/file
  lt_cv_file_magic_test_file=/usr/lib/libc.sl

Needs to be changed to :
hpux10.20*|hpux11*)
  lt_cv_file_magic_cmd=/usr/bin/file
   case $host_cpu in
   hppa*)
     lt_cv_deplibs_check_method='file_magic 
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     lt_cv_file_magic_test_file=/usr/lib/libc.sl
     ;;
   ia64*)
     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) 
shared object file - IA64'
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     ;;
    esac


2- checking dynamic linker characteristics:
The shared library extension in HPUX-PARISC platforms are ".sl" but on 
HPUX-IA64 is ".so":

currently is:

hpux9* | hpux10* | hpux11*)
  # Give a soname corresponding to the major version so that dld.sl refuses to
  # link against other versions.
  dynamic_linker="$host_os dld.sl"
  version_type=sunos
  need_lib_prefix=no
  need_version=no
  shlibpath_var=SHLIB_PATH
  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  library_names_spec='${libname}${release}.sl$versuffix 
${libname}${release}.sl$major $libname.sl'
  soname_spec='${libname}${release}.sl$major'
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  postinstall_cmds='chmod 555 $lib'
  ;;

Need to be changed to :

hpux9* | hpux10* | hpux11*)
  # Give a soname corresponding to the major version so that dld.sl refuses to
  # link against other versions.
  dynamic_linker="$host_os dld.sl"
  version_type=sunos
  need_lib_prefix=no
  need_version=no
  shlibpath_var=SHLIB_PATH
  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   case $host_cpu in
   hppa*)
  library_names_spec='${libname}${release}.sl$versuffix 
${libname}${release}.sl$major $libname.sl'
  soname_spec='${libname}${release}.sl$major'
   ;;
  ia64*)
   library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
   soname_spec='${libname}${release}.so$major'
    ;;
    esac
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  postinstall_cmds='chmod 555 $lib'
  ;;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]