[SOLVED] Samba can't find shared library libsasl2.so.2

Samba is installed but won't start. systemctl status smbd.service returns:
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-05-22 10:17:03 EDT; 41min ago
May 22 10:17:03 andydesktop systemd[1]: Starting Samba SMB/CIFS server...
May 22 10:17:03 andydesktop smbd[1421]: /usr/bin/smbd: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
May 22 10:17:03 andydesktop systemd[1]: smbd.service: control process exited, code=exited status=127
May 22 10:17:03 andydesktop systemd[1]: Failed to start Samba SMB/CIFS server.
May 22 10:17:03 andydesktop systemd[1]: Unit smbd.service entered failed state
I have updated with pacman -Syu and installed libsasl. I tried enabling the testing repositories, but I don't think it found a newer version (not 100% sure about this but it is still broken). pacman -Qi libsasl returns:
Name : libsasl
Version : 2.1.26-2
Description : Cyrus Simple Authentication Service Layer (SASL) Library
Architecture : x86_64
URL : http://cyrusimap.web.cmu.edu/
Licenses : custom
Groups : None
Provides : None
Depends On : openssl krb5
Optional Deps : None
Required By : cyrus-sasl libldap
Optional For : None
Conflicts With : cyrus-sasl-plugins
Replaces : None
Installed Size : 582.00 KiB
Packager : Bartłomiej Piotrowski <[email protected]>
Build Date : Sat 11 May 2013 02:33:27 AM EDT
Install Date : Wed 22 May 2013 10:41:32 AM EDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
locate libsasl2 returns:
/usr/lib/libsasl2.so
/usr/lib/libsasl2.so.3
/usr/lib/libsasl2.so.3.0.0
Seems to me samba's looking for an older version of libsasl, but I'm not sure which one to downgrade to - or if that's even the right solution.
I found some info in this topic but I still can't figure out how to get so.2: https://bbs.archlinux.org/viewtopic.php?pid=1272906 I did notice that my libsasl was built a day after the one in that thread; maybe they changed something?
Any help is greatly appreciated! Thanks!
Last edited by andybp85 (2013-05-22 17:00:11)

karol wrote:/usr/bin/smbd is provided by samba, not smbclient.
But smbd is linked to a lot of libs from smbclient. If one of those libs is linked to libsasl2.so.2, you would get this same error.
Check it out, smbd isn't linked directly to libsasl at all. objdump -x /usr/bin/smbd | grep NEEDED

Similar Messages

  • Itunes 11, can't find shared library

    Have to say.... so far I'm not very happy with itunes 11. A lot of what used to be intuitive is now cryptic.
    I guess along that line...
    I have a sizable library of music & vids on my main system that used to be easily accessible from my macbook's itunes. It simply showed up in the sidebar as a shared library. Nothing on the main system has changed. It's still set up for sharing....
    How can I get itunes on my macbook to do what it used to do... to display shared libraries??????
    Thanks.

    See Empty/corrupt library after upgrade/crash.
    tt2

  • [SOLVED] GCC multilib: cannot find shared library

    Hi,
    I'm trying to compile a systemc program to a 32-bit executable on arch x86_64.  I'm using GCC multilib.  Program compiles fine, but I get the following error when trying to run.
    /home/[myusername]/workspace/systemc_test/Debug/systemc_test: error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory
    Compiler:
    g++ -std=c++0x -DSC_INCLUDE_DYNAMIC_PROCESSES -I/usr/local/systemc/include -O0 -g3 -Wall -c -fmessage-length=0 -m32 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
    Linker:
    g++ -L/usr/local/systemc/lib-linux -m32 -o "systemc_test" ./main.o -lsystemc
    ls /usr/local/systemc/lib-linux/
    libsystemc-2.3.1.so  libsystemc.a  libsystemc.la  libsystemc.so  pkgconfig
    What am I doing wrong?  For the record, this works fine on Ubuntu (64-bit with multilib) using the same version of the systemc library, compiled and installed in exactly the same manner.
    Thanks!
    Last edited by kamz (2014-08-04 02:38:02)

    You're correct -- doesn't find that path.
    ldd systemc_test
    linux-gate.so.1 (0xf77ac000)
        libsystemc-2.3.1.so => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768f000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf7643000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7628000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf7465000)
        /lib/ld-linux.so.2 (0xf77ad000)
    Adding /usr/local/systemc/lib-linux to LD_LIBRARY_PATH solves the problem.  I used a script under /etc/profile.d/ to set this at session start, so I now consider this solved.  Out of curiousity, is it possible to avoid having to do this?

  • ITunes Home Sharing help - can't find shared library

    1st-time setup.  Enabled Home sharing on "old" and "new", and successfully imported 7 songs onto "new".  Now Shared menu item on left-hand panel is gone.  Apple help says to turn off/on sharing - doesn't help.

    If the other computer you're trying to access has timed out or off you cannot access it.  I'm not sure if that is what is going on just thought I would offer that help.

  • Can't find shared libraries

    I do not have the option to look for shared libraries in the preferences under sharing.  How can I find my library on my other computer?

    I don't have this option either!

  • Sibelius 7.5 can't find "sounds library", I reinstalled and upgraded but no success. Any ideas. I'm on imac oxa 10.9.4.

    Sibelius 7.5 can't find "sounds library", I reinstalled and upgraded as Sibelius online help suggested but to no avail. Anyone have any ideas? My display speakers do work.
    Thanks,
    Jccnwmac

    Ok, problem fixed, if not solved. A very helpful Apple tech walked me through opening terminal and entering a sudo command line that established my user name as the owner with owner access. Like magic, everything reverted back to original state of affairs.
    Reviewing the console log of the error, it started when I tried to wake up the iMac from sleep with network access from another Mac, which should not have been a problem. This is in the category of "Who knows?" If there is a repeat, I'll come back here and post it.

  • Remote can't find the library

    Hi everyone,
    Have the same problem since I updated iTunes to version 9 (and sup.) and iPhone OS to versi

    Sorry my post has been cut...
    So, I have this problem since I updated iTunes to version 9 (and sup.) and iPhone OS to version 3 (and sup.).
    I can enter the code on iTunes, then after telling me I can remote control my iTunes from my iPhone, I cannot connect and allways have the same message "can't find the library".
    What I've already done :
    completely reinstall my computer
    deactivate Windows firewall and Base Filtering Engine, then restart it
    deactivate my router firewall
    deactivate any filter on my router, then reboot it
    delete Remote from my iPhone, reboot it, then reinstall Remote, and reboot again
    activate library share on iTunes
    activate public folders share on Windows
    remove sim card to be sure to use wifi, and only wifi
    enter the 4 digits code on iTunes (worked)
    still the same message on iPhone : can't find the library
    I've seen many posts saying that the computer needs to been wifi connected, and not via Ethernet. Is it true ??? It perfectly worked with older versions of these programs, why would Apple have made a change like this ??
    Anyone with an idea?
    Thx

  • When I launch I photo it wants me to choose a library but it doesn't find one which is impossible, because i still have no storage. before i can clean up i want to back up them. how can i find my library?

    When I launch I photo it wants me to choose a library but it doesn't find one which is impossible, because i still have no storage. before i can clean up i want to back up them. how can i find my library?

    You may very well have damaged your library - or even your system by not having adaquate storage available
    And never select all of the pitcture and move them - that will destroy your library - the iPhotolibrary is a SQLite database and must always be kept intact as a single entity -
    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    I am trying to move my itunes library from my old pc to my new imac, home sharing is on and I can see the shared library.  My problem is that when I check the shared library to import it to my imac I cannot import it.  Can anyone help me?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • I can see the shared library, but it will not open, need help

    I can see the shared library, but when I try to open it, after a few seconds of trying it throws me out.  Need help

    Books from the iTunes Store are intended to be read using the iBooks app on an iOS device.
    tt2

  • All of the music on my Ipod Touch is blown out after I synched it with my new MacBook. I didn't get the 'synch' warning-- but now can't find my library of songs. I'm about to panic!

    All of the music on my Ipod Touch is blown out after I synched it with my new MacBook. I didn't get the 'synch' warning-- but now can't find my library of songs. I'm about to panic!

    The iPod backup that iTunes makes does not inlcuded synced media like apps and music. Thes those iTunes are not restored to the iPod unless they are in the iTunes library.
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.

  • I installed the upgrade and now itunes can't find my library and doesn't recognize my devices. Using Windows 7. Any help?

    Help!!! I installed the 10.5 update and now itunes can't find my library or recognize my devices. Running on Windows 7.

    For moving your iTunes library, I recommend this method...
    Assuming you use the iTunes default settings where iTunes copied added items to your iTunes folder and organizes your library (meaning - everything is all self contained in the iTunes folder), then all you have to do is drag & drop your iTunes folder (not just the iTunes Music folder you find inside the iTunes folder) to the external drive and copy the entire thing.
    If you want to test that it worked or would like to actually start using it from that location instead, use these instructions when you start iTunes to point it to the new location...
    How to open an alternate iTunes Library file or create a new one
    http://docs.info.apple.com/article.html?artnum=304447
    If you are just testing, then close iTunes after you verify it works, and restart iTunes again with the same instructions and point it back to your internal drive (original) location.
    Back up your iTunes library by copying to an external hard drive
    http://docs.info.apple.com/article.html?artnum=307074
    Patrick

  • Hard drive packed up, but had Time Machine backup. I installed new sad and upgraded to Mountain Lion., but I can't find iPhoto library and photos or iTunes songs? Is there an answer to this?  Graham

    Hard drive packed up, but had Time Machine backup. I installed new ssd and upgraded to Mountain Lion, but I can't find iPhoto library and photos or iTunes songs? Is there an answer to this?  A backup run did not install either photos or songs. Graham

    Thanks so much but none of that helped.  It was driving me crazy because it would back up another external drive.  I just changed the name of the drive from iPhoto/iTunes Library to Media Libraries and IT WORKED!! I guess for some reason it didn't like the drive being called iPhoto or iTunes ???? I don't understand but I have tried so many solutions and exchanging things out but the name change did it????!!!
    Thank you for your help and replying to this.  Guess I made my own issue!

  • Can't open shared library .../libnmemso.sl

    Hi,
    I have RAC with 2 nodes of 10.2.0.3 on ASM, platform is HP-UX 11.11.
    On both nodes I've installed EM agent (version 10.2.0.3) by entering command
    ./agentDownload.hpunix -b /opt/oracle -c "node1,node2" -n CLUSTER_NAME -l
    EM shows only some part of information about both instances and no information about OS and platform. Also I see message "java.lang.Exception: No such metric" on page of this cluster.
    Also there are errors in emagent.trc of agents on both nodes:
    fetchlets: Could not load library '/opt/oracle/agent10g/lib32/libnmefos.sl' for reason 'Can't open shared library: /opt/oracle/agent10g/lib32//libnmemso.sl'
    Both libraries are exist and available for reading.
    Is there any workaround or fix about this?
    Thanks in advance.

    can you paste the installaction log

  • Update for iphoto ....and i can't find my library or any of my pictures!

    Hello Wayne,
    well recently did the update for iphoto ....and i can't find my library or any of my pictures! I tried the same procudere that you suggested for numbers and pages, but that did not work. I don't even see the previous iphoto...Do you have any suggestions for this?
    Thank you.
    Edna

    Sorry but you need to give details to get help. What version of iPhoto? Of the OS? What upgrade did you just do? Who is Wayne - never sevens anyone named Wayne in this forum? What was the procedure tat was recommended (I doubt that any trouble shooting hints for numbers or pages would apply to iPhoto)?
    Remember we can not see you and only know what you tell us
    LN

Maybe you are looking for

  • Not able to startup managed server on remote machine -- Please advice

    Hi All, We have one admin server and two managed server in one domain. The admin server and a managed server are in one machine(say machineA) and another managed server is on a different machine(say machineB). I changed the weblogic admin console pas

  • Template changes will not propogate out to the child web pages in the defined site.

    I have a user in my organization who regularly makes changes to a dreamweawer template in order to universally change content on pages that are internal to her office.  The site that serves her office has been defined in dreamweaver (we're running dr

  • Floor layout with JavaFx

    Hi, I'm having a requirement to implement an interactive data center floor layout. It should display the different partitions in the data center and should display the server racks installed in them. by clicking on the cubical it should zoom into the

  • Satellite Pro L10: Pop-Up in say "Enter Password"

    HELP ME I LET MY SON USE MY LAPTOP AND A FEW DAY LET I PUT IT ON .......... TOSHIBA LOGO AND THEN A POP UP IN BLUE SAY ENTER PASSWORD SO I DID AND THEN.... SETUP WARNING INVALID PASSWORD

  • Cant find photoshop

    I just finished downloading photoshop using cc but i cant find where to open the app from? it isnt in my applications folder.. help? Im on a mac btw. !