Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 724
    • Issues 724
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 362
    • Merge requests 362
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpine
  • aportsaports
  • Issues
  • #2292

Closed
Open
Created Oct 21, 2013 by freedomrun freedomrun@freedomrun

Samba 4.1 is missing library libtevent.so.0

apk add samba (it installs and at the first sight looks ok)

Trying to start samba v4.1 looks like this:

  1. /etc/init.d/samba start
    * Starting smbd …
    /usr/sbin/smbd: can’t load library ‘libtevent.so.0’
    * start-stop-daemon: failed to start `/usr/sbin/smbd’ [ !! ]
    * Starting nmbd …
    /usr/sbin/nmbd: can’t load library ‘libtevent.so.0’
    * start-stop-daemon: failed to start `/usr/sbin/nmbd’ [ !! ]
    * ERROR: samba failed to start
    —-
    Indeed I tried to start without configuring /etc/samba/smb.conf file first but the system complains on missing library so I`ve started to research

cd /usr/lib

inside there are only 2 files related to name:

libtevent-util.so.0
libtevent-util.so.0.0.1

apk search libtevent
samba-3.6.19-r0
samba-libs-4.1.0-r0

…as you can see apk reports these 2 packages holds “libtevent” but it obviously shows everything that holds something that starts with “libtevet” even that could mean “libtevent-util.so.0” & “libtevent-util.so.0.0.1”

apk add samba-libs (installs ok, but the required file is not in the package)
So I did a bit of search and found that some distros pack it as a separate package.

I think we`re missing this package: http://pkgs.org/altlinux-sisyphus/classic-i586/libtevent-0.9.19-alt1.i586.rpm.html (for 32bit & 64bit) which provides /usr/lib/libtevent.so.0 ..

for now this is what we have:

  1. apk add libtevent
    ERROR: unsatisfiable constraints:
    libtevent (missing):
    required by: world[libtevent]

s.
also just to note that in /etc/samba there is no default smb.conf file

Sorry if I didn`t use all apk commands or all alpine scripts that could help to explain this better, I`m still learning to use Alpine Linux.

Best regards

(from redmine: issue id 2292, created on 2013-10-21, closed on 2013-11-04)

  • Changesets:
    • Revision f5ebfdab by Natanael Copa on 2013-10-31T16:17:16Z:
testing/samba: use system tevent, iniparser, subunit and heimdal

fixes #2292
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking