- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Unable to resolve executable name"
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
Forums
Discussions
Discussions
Discussions
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
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
01-26-2005 11:47 PM
01-26-2005 11:47 PM
"Unable to resolve executable name"
I have created an binary using aCC. When I run it I am getting the following error
# ./abc
Unable to resolve executable name 'abc'
Any pointers?
Thanks
vineesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:07 AM
01-27-2005 12:07 AM
Re: "Unable to resolve executable name"
can you please post the output of:
file ./abc
ll ./abc
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:12 AM
01-27-2005 12:12 AM
Re: "Unable to resolve executable name"
Here is the o/p u requested,
# file MoveUser
MoveUser: PA-RISC1.1 shared executable dynamically linked -not stripped
# ll MoveUser
-rwxr-xr-x 1 root sys 557056 Jan 27 18:36 MoveUser
Thanks
vineesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:28 AM
01-27-2005 12:28 AM
Re: "Unable to resolve executable name"
try doing ./MoveUser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 12:47 AM
01-27-2005 12:47 AM
Re: "Unable to resolve executable name"
Any pointers on this would be appreciated
thanks
vineesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 02:35 AM
01-27-2005 02:35 AM
Re: "Unable to resolve executable name"
where there any errors/warnings when you compiled? What linker are you using?
This to me looks like a unresolved reference within the code or a problem with the make script.
Can you please post a log of when you compile the code?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:17 PM
01-27-2005 07:17 PM
Re: "Unable to resolve executable name"
this may sound silly, but still: are you sure that the message is not from the program itself ?
what shell are you using ? can you do a "strings -a" on the shell executable and see if this string is present there? this can also be done for the program itself and all the shared libraries it depends on.
another way of trying to debug is running the program under gdb or tusc.
--
ranga

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 03:53 PM
02-09-2005 03:53 PM
Re: "Unable to resolve executable name"
Thank you for the response.
actually I was out of this and couldn't follow up on this issue. I have taken the strings -a output and truss output. I could not see any matching strings in the strings -a output. I have attached both. Do you get any clues on this?
Your help is very much appreciated.
Thank you
Vineesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 08:16 PM
02-09-2005 08:16 PM
Re: "Unable to resolve executable name"
try to use ldd & chatr command to make sure all the dependant library is exist.
ldd
chatr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 08:19 PM
02-09-2005 08:19 PM
Re: "Unable to resolve executable name"
access("/usr/bin/moveuser", X_OK) ERR#2 ENOENT
access("/usr/sbin/moveuser", X_OK) ERR#2 ENOENT
access("/sbin/moveuser", X_OK) ERR#2 ENOENT
The executable is trying to run moveuser (note case!) and is searching a very limited path /usr/bin:/usr/sbin:/sbin and can't find it. You either need to add the directory that moveuser is in to your PATH, or provide a link to it in one of the above directories.
Also ensure that the executable name is indeed 'moveuser' rather than 'MoveUser', as there does seem to be some confusion! If the lowercase name is hard coded in the executable, it shouldn't be, use argv[0] instead so when the executable name changes the program won't break.