Fedora4에서 Mysql 설치 문제점

han-solo의 이미지

Fedora4에 mysql-3.22.32 버전을 설치를 했고요
컴파일까지는 아무런 이상없이 진행이 됩니다.

컴파일 후 make를 실행하게 되면, 아래처럼 처음에 내용이 나오고 중간생략 뒤 마지막에 오류 메세지가 나오는데, 무슨 내용이니 도저히 모르겠습니다. 아시는 분은 답변 좀 부탁드리겠습니다.

make all-recursive
make[1]: Entering directory `/usr/src/mysql-3.22.32'
Making all in include
make[2]: Entering directory `/usr/src/mysql-3.22.32/include'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/usr/src/mysql-3.22.32/include'
Making all in Docs
make[2]: Entering directory `/usr/src/mysql-3.22.32/Docs'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/usr/src/mysql-3.22.32/Docs'
Making all in readline
make[2]: Entering directory `/usr/src/mysql-3.22.32/readline'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/usr/src/mysql-3.22.32/readline'
Making all in client
make[2]: Entering directory `/usr/src/mysql-3.22.32/client'
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c libmysql.c
rm -f .libs/libmysql.lo

~~~ 중간 생략 ~~~

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in my_malloc.lo
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmysqlclient.la] 오류 1
make[2]: Leaving directory `/usr/src/mysql-3.22.32/client'
make[1]: *** [all-recursive] 오류 1
make[1]: Leaving directory `/usr/src/mysql-3.22.32'
make: *** [all-recursive-am] 오류 2
[root@localhost mysql-3.22.32]#

feanor의 이미지

errno와 관련해서 링크 에러가 날 때 가장 흔한 원인은 #include 대신 extern int errno; 를 사용한 경우입니다. 소스코드에서 extern int errno; 를 찾아서 errno.h를 #include하도록 바꿔보세요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.