Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 929845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:14:12+00:00 2026-05-15T20:14:12+00:00

I have an osx executable that runs succesfully. When I run nm mono |

  • 0

I have an osx executable that runs succesfully. When I run

nm mono | grep UNIX

on it, I get these results:

     U _accept$UNIX2003
     U _bind$UNIX2003
     U _closedir$UNIX2003
     U _connect$UNIX2003
     U _fwrite$UNIX2003
     U _getpeername$UNIX2003
     U _getsockname$UNIX2003
     U _listen$UNIX2003
     U _mmap$UNIX2003
     U _mprotect$UNIX2003
     U _munmap$UNIX2003
     U _nanosleep$UNIX2003
     U _opendir$UNIX2003
     U _pthread_cond_timedwait$UNIX2003
     U _pthread_cond_wait$UNIX2003
     U _pthread_join$UNIX2003
     U _recv$UNIX2003
     U _recvfrom$UNIX2003
     U _recvmsg$UNIX2003
     U _semctl$UNIX2003
     U _send$UNIX2003
     U _sendmsg$UNIX2003
     U _sendto$UNIX2003
     U _setenv$UNIX2003
     U _strftime$UNIX2003
     U _unsetenv$UNIX2003

Since the app runs succesfully, apparently the OS is able to succesfully resolve these symbols when it loads the application. I am trying to figure out which system library defines these symbols.

One likely suspect is /usr/lib/libSystem.B.dylib, however, when running

nm /usr/lib/libSystem.B.dylib | grep UNIX

there turn out to be no symbols in there with the $UNIX2003 suffix.

I’d like to figure out where these symbols are defined, in relation to a build problem on a seperate program that does not succesfully run, but fails at runtime because it cannot find _opendir$UNIX2003.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:14:13+00:00Added an answer on May 15, 2026 at 8:14 pm

    See the definite discussion in this apple document, Symbol Variants Release Notes.

    All these are defined in /usr/lib/libSystem.B.dylib. Note that it is a universal dylib, i.e. contains both 32 bit and 64 bit versions. On your box, you’ll see something like

    /usr/lib$ nm -arch i386 libSystem.dylib  | grep fputs
    000c22c0 T _fputs
    000328bc T _fputs$UNIX2003
    /usr/lib$ nm -arch x86_64 libSystem.dylib  | grep fputs
    00000000000551cf T _fputs
    

    The point is, there’s no non-SUS compliant versions of these functions in the 64 bit variant. So there’s no $UNIX2003 variant. I guess your linking problem is due to the supported architecture of your library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have a command line OSX executable that I am compiling in xcode.
I have an app that was developed for Windows but runs fine on MacOS
I have an executable that I need to take input from a .wav file
I have a script for OS X 10.5 that focuses the Search box in
We're trying to get SMB volume listings in our OS X application, and have
I'm currently disassembling a Mach-O executable(the executable runs on Mac OS X, to be
I'm new to both Ruby and to Mac OSX, though I do have a
Osx mv and cp does not have the --parents option, so how does one
I have to migrate a iPhone application to Mac OSx. Anybody knows where I
I have a project that adds elements to an AutoCad drawing. I noticed that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.