Giter VIP home page Giter VIP logo

Comments (3)

jsorg71 avatar jsorg71 commented on July 23, 2024

Are you using the release FreeRDP 1.0.0 or 1.0.1?
Do an ldd on /usr/local/lib/xrdp/libxrdpfreerdp1.so and see if it's linking to another libxrdpfreerdp1.so.

from xrdp.

hendrikdemolder avatar hendrikdemolder commented on July 23, 2024

I have the same issue. Compiled FreeRDP and Xrdp from the default branch.

libxrdpfreerdp1.so: undefined symbol

[hendrik@Hendrik-Linux xrdp]$ ldd libxrdpfreerdp1.so
linux-gate.so.1 => (0x00911000)
libcommon.so.0 => /usr/local/lib/xrdp/libcommon.so.0 (0x005ba000)
libcrypto.so.10 => /lib/libcrypto.so.10 (0x00b62000)
libssl.so.10 => /usr/lib/libssl.so.10 (0x0096e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00eb7000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
libdl.so.2 => /lib/libdl.so.2 (0x00df6000)
libz.so.1 => /lib/libz.so.1 (0x00948000)
libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x002bc000)
libkrb5.so.3 => /lib/libkrb5.so.3 (0x002fd000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00891000)
libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x0054b000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00d5b000)
/lib/ld-linux.so.2 (0x44a5f000)
libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x003d7000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00f36000)
libselinux.so.1 => /lib/libselinux.so.1 (0x003e2000)

from xrdp.

cuzz avatar cuzz commented on July 23, 2024

The problem is caused by incorrect configure when compiling the source code.
There should be build documentation with the source code.

You can resolved it by doing this:

First, download freerdp source code, unzip the files to [FreeRDP_DIR], For exmaple, /download/freerdp.
And download xrdp source code and unzip it to [XRDP_DIR], , For exmaple, /download/xrdp.

Now, compile freerdp and install it.

cd [FreeRDP_DIR]
mkdir build
cd build
cmake .. -DWITH_CUPS=OFF -DWITH_FFMPEG=OFF -DWITH_XKBFILE=OFF -DWITH_XV=OFF -DWITH_ALSA=OFF
make
make install

Then,compile xrdp and libxrdpfreerdp1 module. Make sure to configure xrdp with correct FREERDP_LIBS and FREERDP_CFLAGS.
Or you will get "undefined symbol: freerdp_get_version" when you run xrdp.

cd [XRDP_DIR]
./bootstrap
./configure FREERDP_LIBS="-lfreerdp-core -L[XRDP_DIR]/build/libfreerdp-core" FREERDP_CFLAGS=-I[XRDP_DIR]/include
make
make install
cd freerdp1
make
make install

And then test xrdp:

xrpd -nodaemon
OR
/etc/xrdp/xrdp.sh start

from xrdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.