On 04.01.2014 18:41, Peter Humphrey wrote:
Hello list,

I've installed ownCloud on my LAN server and it seems to run OK. Now I want to
build the client on my workstation but the linker falls over with these
errors:

Linking CXX executable ../bin/owncloud
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::WritePasswordJob::setKey(QString const&)'

You seem to miss the libqtkeychain. Maybe it is not in the standard search path for libs?

Try to call ldd ../bin/owncloud and check its output, it will show the libs its using.

If your libqtkeychain is not installed in standard path, you can use LD_LIBRARY_PATH environment variable:
LD_LIBRARY_PATH=/path/to/libqtkeychain/ ../bin/owncloud

regards,

klaas

libowncloudsync.so.1.5.0: undefined reference to `QKeychain::Job::error()
const'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::ReadPasswordJob::ReadPasswordJob(QString const&, QObject*)'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::DeletePasswordJob::DeletePasswordJob(QString const&, QObject*)'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::ReadPasswordJob::setKey(QString const&)'
libowncloudsync.so.1.5.0: undefined reference to `QKeychain::Job::errorString()
const'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::ReadPasswordJob::textData() const'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::Job::setInsecureFallback(bool)'
libowncloudsync.so.1.5.0: undefined reference to `QKeychain::Job::settings()
const'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::DeletePasswordJob::setKey(QString const&)'
libowncloudsync.so.1.5.0: undefined reference to `QKeychain::Job::start()'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::WritePasswordJob::setTextData(QString const&)'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::WritePasswordJob::WritePasswordJob(QString const&, QObject*)'
libowncloudsync.so.1.5.0: undefined reference to
`QKeychain::Job::setSettings(QSettings*)'

I've tried Google but it returned nothing.

I have installed the qtkeychain package, which I think ought to include those
objects.

Can anyone see what I'm missing? I built ocsync and mirall directly under
/usr/local/src.


_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to