- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with sudo installation
Operating System - HP-UX
1752679
Members
5385
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-03-2006 08:22 AM
тАО04-03-2006 08:22 AM
Problem with sudo installation
Hi,
I┬┤m trying install sudo 1.6.8p12 on HP-UX 11.0.
When I execute "make" this message is showed:
"cc -o visudo visudo.o fileops.o gettime.o goodpath.o find_path.o sudo.tab.o lex.yy.o alloc.o defaults.o err.o fnmatch.o strlcpy.o strlcat.o closefrom.o snprintf.o getprogname.o
/bin/sh ./libtool --mode=link cc -o sudo_noexec.la sudo_noexec.lo -avoid-version -rpath /usr/local/libexec
/usr/bin/ld -b +h sudo_noexec.sl +b /usr/local/libexec -o .libs/sudo_noexec.sl .libs/sudo_noexec.o -lc
/usr/bin/ld: DP relative code in file .libs/sudo_noexec.o - shared library must be position
independent. Use +z or +Z to recompile.
*** Error exit code 1"
Does anyone have any idea to solve this problem?
Tks.
Daniel
I┬┤m trying install sudo 1.6.8p12 on HP-UX 11.0.
When I execute "make" this message is showed:
"cc -o visudo visudo.o fileops.o gettime.o goodpath.o find_path.o sudo.tab.o lex.yy.o alloc.o defaults.o err.o fnmatch.o strlcpy.o strlcat.o closefrom.o snprintf.o getprogname.o
/bin/sh ./libtool --mode=link cc -o sudo_noexec.la sudo_noexec.lo -avoid-version -rpath /usr/local/libexec
/usr/bin/ld -b +h sudo_noexec.sl +b /usr/local/libexec -o .libs/sudo_noexec.sl .libs/sudo_noexec.o -lc
/usr/bin/ld: DP relative code in file .libs/sudo_noexec.o - shared library must be position
independent. Use +z or +Z to recompile.
*** Error exit code 1"
Does anyone have any idea to solve this problem?
Tks.
Daniel
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2006 08:27 AM
тАО04-03-2006 08:27 AM
Re: Problem with sudo installation
Without dissecting the messages too deeply, you are missing a library.
Why not get the depot format of sudo from HP?
http://software.hp.com
No cost to download and it installs with the swinstall command.
Why not get the depot format of sudo from HP?
http://software.hp.com
No cost to download and it installs with the swinstall command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2006 08:51 AM
тАО04-26-2006 08:51 AM
Re: Problem with sudo installation
I haven't specifically built sudo for HP, but when I've gotten this error message for other applications, it's been a configure/environment issue.
The error message means that your trying to bind PIC and non-PIC together.
I'm guessing you're missing some CFLAGS or LDFLAGS. This usually happens because there's the ./configure (or similar) doesn't understand HP-UX or because you're mixing GNU and HP specific utilities.
Try 1 or more of the following
1) read the README to make sure there aren't HP specific instructions
2) consider adding +z to the CFLAGS in your Makefile(s).
3) run configure with CFLAGS=+z;export CFLAGS in your environment. Once you're done,+z should appear in your Makefile(s)
4) post more information for us
The error message means that your trying to bind PIC and non-PIC together.
I'm guessing you're missing some CFLAGS or LDFLAGS. This usually happens because there's the ./configure (or similar) doesn't understand HP-UX or because you're mixing GNU and HP specific utilities.
Try 1 or more of the following
1) read the README to make sure there aren't HP specific instructions
2) consider adding +z to the CFLAGS in your Makefile(s).
3) run configure with CFLAGS=+z;export CFLAGS in your environment. Once you're done,+z should appear in your Makefile(s)
4) post more information for us
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2006 07:33 AM
тАО04-27-2006 07:33 AM
Re: Problem with sudo installation
From the Install file.
HP-UX:
The default C compiler shipped with HP-UX does not support creating position independent code and so is unable to support sudo's "noexec"
functionality. You must use either the HP ANSI C compiler or gcc for noexec to work. Binary packages of gcc are available from http://hpux.connect.org.uk/ and http://hpux.cs.utah.edu/.
I tried this on hpux 10.2 and got the same error. I don't have GCC nor can I install it.
Wish I could get the binary of sudo for 10.2
HP-UX:
The default C compiler shipped with HP-UX does not support creating position independent code and so is unable to support sudo's "noexec"
functionality. You must use either the HP ANSI C compiler or gcc for noexec to work. Binary packages of gcc are available from http://hpux.connect.org.uk/ and http://hpux.cs.utah.edu/.
I tried this on hpux 10.2 and got the same error. I don't have GCC nor can I install it.
Wish I could get the binary of sudo for 10.2
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP