Results 1 to 2 of 2

Thread: The error: /usr/bin/ld: cannot find -lphonon

  1. #1
    Join Date
    Sep 2008
    Posts
    93
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default The error: /usr/bin/ld: cannot find -lphonon

    I installed QT4.4 with phonon option.

    But when I compiled the example musicplayer from phonon. It always says:
    /usr/bin/ld: cannot find -lphonon

    How can I set the path?

  2. #2
    Join Date
    Oct 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: The error: /usr/bin/ld: cannot find -lphonon

    I had the same problem and fixed adding some symbolic links into the lib and include paths.

    You can do something like that:
    Qt Code:
    1. ln -s /usr/lib/kde4/lib/libphonon.so /usr/lib/libphonon.so
    To copy to clipboard, switch view to plain text mode 

    Theres others phonon modules at usr/lib, but for me worked only linking this one.

    I also had to link the include dir that is under "/usr/lib/kde4/include/phonon" with "/usr/include/phonon" to be able compile my sources.

Similar Threads

  1. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  2. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.