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

  • SEARCH
  • Home
  • 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 8217673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:32:24+00:00 2026-06-07T12:32:24+00:00

This is the message I get after I run make after I configure. Undefined

  • 0

This is the message I get after I run make after I configure.

Undefined symbols for architecture x86_64:
  "_res_9_init", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_search", referenced from:
      _zif_dns_check_record in dns.o
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_dn_skipname", referenced from:
      _zif_dns_get_record in dns.o
      _zif_dns_get_mx in dns.o
  "_res_9_dn_expand", referenced from:
      _php_parserr in dns.o
      _zif_dns_get_mx in dns.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How I’m configuring

./configure --prefix=/usr/ --with-apxs2=/usr/sbin/apxs --with-mysql \
--with-pear --with-pdo-pgsql \
--with-pdo-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock \
--with-pgsql --with-zlib \
--with-zlib-dir=/usr \
--with-openssl \
--without-iconv \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-mbregex \
--enable-sockets 

Please can any one help?

  • 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-06-07T12:32:25+00:00Added an answer on June 7, 2026 at 12:32 pm

    The actual source of the problem remains vague but what is certain is that my configuration is wrong. The conflicts creating the problem were only resolved once all traces of the native php was removed -deleted literally from /usr/bin and then I downloaded the latest stable php 5.4 tarball unpacked it and reconfigured with these options:

    ./configure  \
    --prefix=/usr  \
    --mandir=/usr/share/man  \
    --infodir=/usr/share/info  \
    --sysconfdir=/private/etc  \
    --with-apxs2=/usr/sbin/apxs  \
    --enable-cli  \
    --with-config-file-path=/etc  \
    --with-libxml-dir=/usr  \
    --with-openssl=/usr  \
    --with-kerberos=/usr  \
    --with-zlib=/usr  \
    --enable-bcmath  \
    --with-bz2=/usr  \
    --enable-calendar  \
    --with-curl=/usr  \
    --enable-dba  \
    --enable-exif  \
    --enable-ftp  \
    --with-gd  \
    --enable-gd-native-ttf  \
    --with-icu-dir=/usr  \
    --with-iodbc=/usr  \
    --with-ldap=/usr  \
    --with-ldap-sasl=/usr  \
    --with-libedit=/usr  \
    --enable-mbstring  \
    --enable-mbregex  \
    --with-mysql=mysqlnd   \
    --with-mysqli=mysqlnd  \
    --without-pear  \
    --with-pdo-mysql=mysqlnd  \
    --with-mysql-sock=/var/mysql/mysql.sock  \
    --with-readline=/usr  \
    --enable-shmop  \
    --with-snmp=/usr  \
    --enable-soap  \
    --enable-sockets  \
    --enable-sysvmsg  \
    --enable-sysvsem  \
    --enable-sysvshm  \
    --with-tidy  \
    --enable-wddx  \
    --with-xmlrpc  \
    --with-iconv-dir=/usr  \
    --with-xsl=/usr  \
    --enable-zip  \
    --with-pcre-regex  \
    --with-pgsql=/usr  \
    --with-pdo-pgsql=/usr \
    --with-freetype-dir=/usr/X11 \
    --with-jpeg-dir=/usr  \
    --with-png-dir=/usr/X11
    

    after that I ran
    $ sudo make test, then install.

    then I restarted apache
    $ sudo serveradmin stop/start web

    then It f*** worked.

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

Sidebar

Related Questions

After making cabal install of the darcsden code I get this message: cabal: The
I get this error message from a Ghostscript call: Error: /syntaxerror in -file- Operand
when I use MySQLdb get this message: /var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
When loading up a solution in VS2008 I get this message: An error was
I try to use the boolean in my class and get this message reference
When retrieving packages with Cabal, I frequently get errors with this message: user error
I get this error message in LogCat: 06-25 15:17:34.495: E/AndroidRuntime(5891): java.lang.RuntimeException: Unable to start
I get this error message pageContext cannot be resolved but I have no variable
I get this error message in Eclipse: Access restriction: The type DirectoryWalker is not
I have this replace regex (it's taken from the phpbb source code). $match =

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.