[Frage] Alternativen zu Apache: Nginx - In Freetz verfügbar?

Bitte poste aus deinem Build-System, auch die Ausgabe von:
Code:
readelf -d packages/target-mipsel_uClibc-0.9.29/hiawatha-8.4/root/usr/bin/hiawatha | grep RPATH

Anbei die Ausgabe vom Build-System:
Code:
user@pc2:/media/Targa_250GB/Freetz/FB7390_freetz-trunk$ readelf -d packages/target-mipsel_uClibc-0.9.29/hiawatha-8.4/root/usr/bin/hiawatha | grep RPATH
readelf: Error: 'packages/target-mipsel_uClibc-0.9.29/hiawatha-8.4/root/usr/bin/hiawatha': No such file
user@pc2:/media/Targa_250GB/Freetz/FB7390_freetz-trunk$ ls packages/
target-mips_uClibc-0.9.32.1
 
Image mit Hiawatha - keine Telefonie mehr

Ein "Side-Effect" muss ich noch erwähnen:
Mit dem Image, das Hiawatha enthält, ist keine VoIP-Telefonie möglich, d.h. die Registrierung der VoIP-Rufnummern funktioniert nicht.
Ich habe aber keine Fehlermeldung diesbezüglich im Ereignislog.
 
Mit dem Image, das Hiawatha enthält, ist keine VoIP-Telefonie möglich, d.h. die Registrierung der VoIP-Rufnummern funktioniert nicht.
Ob es an hiawatha liegt kann ich zum jetzigen Zeitpunkt nicht sagen. Als Test könntest Du hiawatha mal ohne SSL und ohne XSLT (... funktionieren nocht nicht wegen RPATH) kompilieren, flashen und schauen ob die VoIP-Telefonie funktioniert. Betr. SSL und XSLT muss ich RPATH aus hiawatha auf "/usr/lib/freetz" zeigen lassen:
Code:
root@fritz:/var/media/ftp/uStor02/test# ./readelf -d ./hiawatha | grep RPATH
 0x0000000f (RPATH)                      Library rpath: [/usr/local/lib/hiawatha]
 
Mit dem Patch (siehe unten) für die "CMakeLists.txt"-Datei sollte es auch bei dir funktionieren:
Code:
--- CMakeLists.txt.orig	2012-08-07 17:53:12.000000000 +0200
+++ CMakeLists.txt	2012-08-07 23:05:24.000000000 +0200
@@ -43,7 +43,7 @@
 set(WEBROOT_DIR ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/www/hiawatha CACHE STRING "Webroot directory")
 set(WORK_DIR ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/hiawatha CACHE STRING "Work directory")
 set(CMAKE_BUILD_TYPE "RelWithDebInfo")
-set(CMAKE_C_FLAGS "-Wall")
+set(CMAKE_C_FLAGS "-Wall -Wl,-rpath,/usr/lib/freetz")
 
 # Compiler options
 check_include_file(crypt.h HAVE_CRYPT_H)
@@ -78,6 +78,9 @@
 	set(CIFS 1)
 endif()
 
+# RPATH
+SET(CMAKE_SKIP_BUILD_RPATH TRUE)
+
 # CPack
 set(CPACK_PACKAGE_VERSION_MAJOR ${HIAWATHA_VERSION_MAJOR})
 set(CPACK_PACKAGE_VERSION_MINOR ${HIAWATHA_VERSION_MINOR})
Code:
root@fritz:/var/media/ftp/uStor02/test# ./readelf -d ./hiawatha | grep RPATH
 0x0000000f (RPATH)                      Library rpath: [/usr/lib/freetz::::::::::::::::::::::::]
 
Die Ausgabe von ldd /usr/bin/hiawatha ist:
Code:
root@FB7390:/var/media/ftp/system# ldd /usr/bin/hiawatha 
	libpolarssl.so.1 => not found
	libxml2.so.2 => not found
	libxslt.so.1 => not found
Mit dem Patch findet hiawatha die libraries:
Code:
root@fritz:/var/media/ftp/uStor02/archiv/hiawatha# lsof -np 15480
COMMAND    PID   USER   FD   TYPE     DEVICE    SIZE    NODE NAME
hiawatha 15480 nobody  cwd    DIR       31,0     217     207 /
hiawatha 15480 nobody  rtd    DIR       31,0     217     207 /
hiawatha 15480 nobody  txt    REG        8,2  173032  202829 /var/media/ftp/uStor02/archiv/hiawatha/sbin/hiawatha
hiawatha 15480 nobody  mem    REG       31,0   22536     963 /lib/ld-uClibc-0.9.29.so
hiawatha 15480 nobody  mem    REG       31,0   11624     969 /lib/libcrypt-0.9.29.so
hiawatha 15480 nobody  mem    REG        8,2   91286   32481 /var/media/ftp/uStor02/libs/libpthread-0.9.32.1.so
hiawatha 15480 nobody  mem    REG       31,0   78704    1179 /lib/libz.so.1.2.3
hiawatha 15480 nobody  mem    REG        8,2  209004   32454 /var/media/ftp/uStor02/libs/libpolarssl.so.1.1.3
hiawatha 15480 nobody  mem    REG        8,2 1198052   32459 /var/media/ftp/uStor02/libs/libxml2.so.2.7.8
hiawatha 15480 nobody  mem    REG        8,2  212776   32460 /var/media/ftp/uStor02/libs/libxslt.so.1.1.26
hiawatha 15480 nobody  mem    REG       31,0   56788     983 /lib/libgcc_s.so.1
hiawatha 15480 nobody  mem    REG       31,0  459468    1144 /lib/libuClibc-0.9.29.so
hiawatha 15480 nobody  mem    REG       31,0   68708     944 /lib/libpthread-0.9.29.so
hiawatha 15480 nobody  mem    REG       31,0   75908    1739 /usr/lib/freetz/libz.so.1.2.5
hiawatha 15480 nobody  mem    REG       31,0  104056     972 /lib/libm-0.9.29.so
hiawatha 15480 nobody    0r   CHR        1,3             177 /dev/null
hiawatha 15480 nobody    1w   CHR        1,3             177 /dev/null
hiawatha 15480 nobody    2w   CHR        1,3             177 /dev/null
hiawatha 15480 nobody    3u  unix 0x9674a960         1885406 socket
hiawatha 15480 nobody    4u  IPv4    1897144             TCP 192.168.###.##:xxxx (LISTEN)
hiawatha 15480 nobody    5r  FIFO        0,5         1897145 pipe
hiawatha 15480 nobody    6w  FIFO        0,5         1897145 pipe
 

Zurzeit aktive Besucher

Keine Mitglieder online.

Statistik des Forums

Themen
246,782
Beiträge
2,257,378
Mitglieder
374,826
Neuestes Mitglied
teresachavez5000
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.