smbd:undefined symbol ??

hanpedro의 이미지

fc5에 samba를 설치하고 있는 중입니다.

/etc/init.d/smb start
에서 fail이 나와서
/var/log/samba/smbd.log 를 보니까 아래 내용이 있습니다.

smbd/server.c:main(847)
smbd version 3.0.23c-1.fc5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
smbd: symbol lookup error: smbd: undefined symbol: cupsLangDefault

뭐가 잘못되었나요? 어떻게 해야 합니까?

bushi의 이미지

[bushi@rose ~]$ rpm -qR samba | grep cups
libcups.so.2
[bushi@rose ~]$ ldd /usr/sbin/smbd | grep cups
        libcups.so.2 => /usr/lib/libcups.so.2 (0x00129000)
[bushi@rose ~]$
[bushi@rose ~]$ strings /usr/lib/libcups.so.2 | grep cupsLangDefault
cupsLangDefault
[bushi@rose ~]$ rpm -qf /usr/lib/libcups.so.2
cups-libs-1.2.5-1.fc5.4
[bushi@rose ~]$

yum install cups-libs
하세요.

어떻게 설치를 하셨는지 모르겠지만 문제가 더 있을 것도 같습니다.
samba 패키지에는 분명히 libcups.so.2 에 대한 의존성이 걸려 있습니다.
아마도 패키지 설치할 때 부터 경고를 받으셨을 텐데요.

hanpedro의 이미지

지금 설치중입니다.ㅎ

자료는 저장하자!
저장해서 정리하지 않은 지식은 쓸모가 없다.

ydhoney의 이미지

되셨을지도 모를 일입니다만 혹시나 해서 남깁니다.

페도라쪽에서 samba 사용시 cups 1.1 버전 기준 라이브러리를 기준으로 사용하도록 컴파일 되어있는데 yum update 해버리면 이후의 cups 및 cups-libs 가 1.2로 업그레이드 되어버리면서 문제가 발생합니다.

혹시나 모르니 설치 후에도 안되시면 cups 및 cups-libs 를 다운그레이드하세요 =_=a

그리고 영 귀찮아지는 경우도 있으니 cups 부류의 데몬은 애초에 내리시는게 좋습니다.

==
아 씨끄러 씨끄러~ 조용해!!

hanpedro의 이미지

smbd는 로드되었는데....
연결이 잘않되네요.....

자료는 저장하자!
저장해서 정리하지 않은 지식은 쓸모가 없다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.