- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Logrotate 2.5 on HPUX is practically a dinosau...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2007 09:44 PM
тАО09-04-2007 09:44 PM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
hp-ux 11.23 montecito
dowloaded: logrotate-3.7.4.tar
swinstall-ed:
-libhplx_ipf.depot
-popt-1.7-ia64-11.23.depot
# cd /usr/local/hplx/lib
# ln -s hpux32/* .
# cd .../logrotate-3.7.4
# gmake POPT_DIR=/usr/local/lib/hpux32
# gmake install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 05:31 AM
тАО09-05-2007 05:31 AM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
# cd /usr/local/hplx/lib
# ln -s hpux32/* .
did you mean to say...
cd /usr/local/lib
ln -s /usr/local/lib/hpux32 hpux32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 05:33 AM
тАО09-05-2007 05:33 AM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
err sorry, I made a typo.. I meant to
suggest
cd /usr/local/lib
ln -s /usr/local/hplx/lib hpux32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 08:18 AM
тАО09-05-2007 08:18 AM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
Doesn't matter. When I try to compile logrotate-3.7.1 it seems to build ok, but fails on execution. It'll fail for same reason if I build popt from source or if I use the package provided from the porting site.
# ./logrotate
logrotate 3.7.1 - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License
/usr/lib/dld.sl: Unresolved symbol: libintl_dgettext (code) from /usr/local/lib/libpopt.sl.0
Abort(coredump)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2007 10:47 PM
тАО09-05-2007 10:47 PM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
my /usr/local/hplx/lib is
total 544
dr-xr-xr-x 2 bin bin 96 Sep 5 10:40 hpux32
dr-xr-xr-x 2 bin bin 96 Sep 4 17:43 hpux64
-r-xr-xr-x 1 bin bin 275060 Mar 26 2004 libhplx.1
lrwxr-xr-x 1 root sys 16 Sep 5 11:36 libhplx.a -> hpux32/libhplx.a
lrwxr-xr-x 1 root sys 17 Sep 5 11:36 libhplx.so -> hpux32/libhplx.so
lrwxr-xr-x 1 root sys 19 Sep 5 11:36 libhplx.so.1 -> hpux32/libhplx.so.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 04:13 AM
тАО09-06-2007 04:13 AM
SolutionThat missing symbol looks like something out of GNU gettext (used for internationalization). Either the library was compiled to use it but somehow didn't get linked properly, or the gettext library is missing. You probably don't really need gettext and NLS, but you'd have to explicitly disable it when you configure the build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 06:26 AM
тАО09-06-2007 06:26 AM
Re: Logrotate 2.5 on HPUX is practically a dinosaur
Ok. After spending a day compiling and re-compiling this is what I've discovered.
If popt-1.7 is compiled as follows, then logrotate will no longer coredump. I suspect there is a problem with the porting site version of popt and internationalization issues related to gettext (that I was able to duplicate when I compiled popt myself)
This worked...
---------------
cd popt-1.7
./configure -C --disable-static --prefix=/usr/local --with-included-gettext
gmake
gmake check ( some broken test cases can be commented out )
gmake install
then in the
cd logrotate-3.7.4
gmake POPT_DIR=/usr/local
Logrotate seems to need the HPLX code and it was automatically detected and used.
This also worked...
------------------
I was also able to download popt-1.10.4 from linux from scratch and logrotate had no coredump problems with these libs. I only had to
cd/popt-1.10.4
./configure -C
gmake
gmake install
there is a ABOUT-NLS doc with the popt-1.10.4 that describes the headaches that I encountered.
So it seems that I have a logrotate binary that no longer core dumps. Hopefully it has no other runtime issues.
- « Previous
-
- 1
- 2
- Next »