You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
I try to explain how shared libraries are handled:
HP-UX ia64 is a 32bit/64bit system which can also execute HP-UX software for PA-RISC.
Default paths:
/usr/lib ... libraries for PA-RISC
/usr/lib/hpux32 ... libraries for ia64 ELF-32
/usr/lib/hpux64 ... libraries for ia64 ELF-64
The attached patch makes it possible to build 32/64-bit libraries for this plattform. But a slightly modification will be required before it will work as expected:
*) Parameter for an additional "string" in the standard library path or additional parameters for setting the 32/64-bit library paths (don't know which is the better way)
Activity
michaelrsweet commentedon Dec 6, 2006
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Dec 6, 2006
"cups-1.2.7-confighpux.patch":
diff -c -r config-scripts.old/cups-compiler.m4 config-scripts/cups-compiler.m4
*** config-scripts.old/cups-compiler.m4 2006-11-22 11:07:41.000000000 +0100
--- config-scripts/cups-compiler.m4 2006-11-22 11:28:42.000000000 +0100
*** 129,134 ****
--- 129,186 ----
fi
*** config-scripts.old/cups-opsys.m4 2006-11-22 11:08:15.000000000 +0100
--- config-scripts/cups-opsys.m4 2006-11-22 11:09:21.000000000 +0100
*** 22,30 ****
dnl WWW: http://www.cups.org
dnl
! dnl Get the operating system and version number...
uname=
unameuversion=
uname -r | sed -e '1,$s/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\).*/\1\2/'case "$uname" in
GNU* | GNU/*)
--- 22,31 ----
dnl WWW: http://www.cups.org
dnl
! dnl Get the operating system, version number and arch ...
uname=
unameuversion=
uname -r | sed -e '1,$s/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\).*/\1\2/'uarch=
uname -mcase "$uname" in
GNU* | GNU/)
diff -c -r config-scripts.old/cups-sharedlibs.m4 config-scripts/cups-sharedlibs.m4
** config-scripts.old/cups-sharedlibs.m4 2006-11-22 11:07:48.000000000 +0100
--- config-scripts/cups-sharedlibs.m4 2006-11-22 11:25:00.000000000 +0100
*** 36,45 ****
DSOFLAGS="$DSOFLAGS -Wl,-h,
basename \$@-G $(OPTIM)";;
HP-UX_)
! LIBCUPS="libcups.sl.2"
! LIBCUPSIMAGE="libcupsimage.sl.2"
! DSO="$(LD)"
! DSOFLAGS="$DSOFLAGS -b -z +h
basename \$@";;
IRIX)
LIBCUPS="libcups.so.2"
--- 36,55 ----
DSOFLAGS="$DSOFLAGS -Wl,-h,
basename \$@-G $(OPTIM)";;
HP-UX_)
! case "$uarch" in
! ia64)
! LIBCUPS="libcups.so.2"
! LIBCUPSIMAGE="libcupsimage.so.2"
! DSO="$(CC)"
! DSOFLAGS="$DSOFLAGS -Wl,-b,-z,+h,
basename \$@"! ;;
! *)
! LIBCUPS="libcups.sl.2"
! LIBCUPSIMAGE="libcupsimage.sl.2"
! DSO="$(LD)"
! DSOFLAGS="$DSOFLAGS -b -z +h
basename \$@"! ;;
! esac
;;
IRIX)
LIBCUPS="libcups.so.2"
*** 126,134 ****
case $uname in
HP-UX_)
# HP-UX needs the path, even for /usr/lib...
! DSOFLAGS="+s +b $libdir $DSOFLAGS"
! DSO32FLAGS="+s +b $LIB32DIR $DSO32FLAGS"
! DSO64FLAGS="+s +b $LIB64DIR $DSO64FLAGS"
LDFLAGS="$LDFLAGS -Wl,+s,+b,$libdir"
EXPORT_LDFLAGS="-Wl,+s,+b,$libdir"
;;
--- 136,153 ----
case $uname in
HP-UX_)
# HP-UX needs the path, even for /usr/lib...
! case "$uarch" in
! ia64)
! DSOFLAGS="-Wl,+s,+b,$libdir $DSOFLAGS"
! DSO32FLAGS="-Wl,+s,+b,$LIB32DIR $DSO32FLAGS"
! DSO64FLAGS="-Wl,+s,+b,$LIB64DIR $DSO64FLAGS"
! ;;
! *)
! DSOFLAGS="+s +b $libdir $DSOFLAGS"
! DSO32FLAGS="+s +b $LIB32DIR $DSO32FLAGS"
! DSO64FLAGS="+s +b $LIB64DIR $DSO64FLAGS"
! ;;
! esac
LDFLAGS="$LDFLAGS -Wl,+s,+b,$libdir"
EXPORT_LDFLAGS="-Wl,+s,+b,$libdir"
;;