Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: <wenzong.fan@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [PATCH 0/1] mariadb-native: fix link error on Ubuntu 13.10
Date: Thu, 5 Dec 2013 15:10:37 +0800	[thread overview]
Message-ID: <cover.1386227209.git.wenzong.fan@windriver.com> (raw)

From: Wenzong Fan <wenzong.fan@windriver.com>

Below errors only occurs on Ubuntu 13.10:

$arch-linux-libtool: link: g++ ... -o .libs/mysqltest_embedded \
    ../../libmysqld/.libs/libmysqld.so -ldl

    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlopen'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlclose'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlerror'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlsym'

GCC/ld verion on the host:
    gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
    GNU ld (GNU Binutils for Ubuntu) 2.23.52.20130913

This is a strange behavior on Ub13.10, it fails even '-ldl' in the
link command line. This patch will append '-ldl' to dependency_libs
in libmysqld.la.

The following changes since commit 0abd142f0af03aa36c0c551e930b143798999066:

  inetutils: add --with-libreadline-prefix to avoid host contamination (2013-12-04 10:48:30 -0500)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/mariadb-native-2
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/mariadb-native-2

Wenzong Fan (1):
  mariadb-native: fix link error on Ubuntu 13.10

 .../recipes-support/mysql/mariadb-native_5.1.67.bb |    3 ++
 .../mysql/mariadb/fix-link-error-ub1310.patch      |   37 ++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 meta-oe/recipes-support/mysql/mariadb/fix-link-error-ub1310.patch

-- 
1.7.10.4



             reply	other threads:[~2013-12-05  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05  7:10 wenzong.fan [this message]
2013-12-05  7:10 ` [PATCH 1/1] mariadb-native: fix link error on Ubuntu 13.10 wenzong.fan
2013-12-05 15:32   ` Scott Penner
2013-12-13  6:22     ` wenzong fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1386227209.git.wenzong.fan@windriver.com \
    --to=wenzong.fan@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox