LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2011, 12:42 PM   #16
luvmax
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0

Hi,

Guess you've tried everything now. Many thanks or trying.

Trying to make on imap 2002e, I get:

/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x97): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc1): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x154): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x181): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x281): In function `dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function `dlfcn_bind_func':
: undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x281): In function `dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x599): In function `dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x61f): In function `dlfcn_pathbyaddr':
: undefined reference to `dladdr'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x66c): In function `dlfcn_pathbyaddr':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x6af): In function `dlfcn_globallookup':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x6c4): In function `dlfcn_globallookup':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x6ce): In function `dlfcn_globallookup':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [mtest] Error 1
make[2]: Leaving directory `/usr/src/imap-2002e/mtest'
make[1]: *** [bundled] Error 2
make[1]: Leaving directory `/usr/src/imap-2002e'
make: *** [slx] Error 2

Guess this just isn't going to happen :-(

Thanks again. Perhaps I will have to go down the slacware 13 route.
 
Old 04-24-2011, 01:41 PM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by luvmax View Post
Happy to do either. When I cliced 'Report' It said this was only for rude/abusive etc. So I guess I've misunderstood. Perhaps theres some other way to report a thread as such...
The Report-button is for others to report abuse of the forums but also for the OP (you, the thread-starter) to request that the thread is moved to a more appropriate forum. Feel free to use it.

Markus
 
Old 04-24-2011, 03:55 PM   #18
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
/usr/local/ssl/lib/libcrypto.a ...
...
If you don't have a self-compiled openssl in the above directory, then you need to edit src/osdep/unix/Makefile and change the following:
Quote:
SSLDIR=/usr/lib
SSLCERTS=/etc/ssl/certs
SSLKEYS=$(SSLCERTS)
SSLINCLUDE=/usr/include
SSLLIB=/usr/lib
Don't forget to run make clean this time in imap sources
 
Old 04-26-2011, 09:50 AM   #19
luvmax
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0
Hi Sorry about this. I think I've moved on a bit. imap-2002e seemed to compile OK (with the mods in osdep/unix).

Unfortunately, /usr/src/php-4.3.3# ./configure --with-apxs --with-unixODBC --with -mysql --with-imap=/usr/src/imap-2002e comes up with:

checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for details.

Which has a lot of undefined references in conftest.c e.g.

pthreads
yp_get_default_domain
dlopen, __dlopen
res_search, __res_search
dn_skipname
crypt

The list goes on but at the end, I get

/usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb1af):/usr/src/imap-2002e/c-client/osdep.c:440: undefined reference to `X509_verify_cert_error_string' /usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb1cc):/usr/src/imap-2002e/c-client/osdep.c:442: undefined reference to `X509_STORE_CTX_get_current_cert' /usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb1d4):/usr/src/imap-2002e/c-client/osdep.c:442: undefined reference to `X509_get_subject_name'
/usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb1dc):/usr/src/imap-2002e/c-client/osdep.c:442: undefined reference to `X509_NAME_oneline'
/usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb265): In function `ssl_genkey':
/usr/src/imap-2002e/c-client/osdep.c:842: undefined reference to `RSA_generate_key'
/usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb293):/usr/src/imap-2002e/c-client/osdep.c:843: undefined reference to `ERR_get_error'
/usr/src/imap-2002e/lib/libc-client.a(osdep.o)(.text+0xb2a2):/usr/src/imap-2002e/c-client/osdep.c:846: undefined reference to `ERR_error_string'
collect2: ld returned 1 exit status
configure: failed program was:
#line 40042 "configure"
#include "confdefs.h" void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_newbody();
int main() {
mail_newbody();
return 0; }

Am I making progress or not? is pthreads a dependancy. Think I've got that.

/usr/lib/libpthread.so
/usr/include/pthread.h

Thanks again.
 
Old 04-26-2011, 11:59 AM   #20
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
To avoid this, you should have used either:
Code:
make slx SSLTYPE=none
to build imap without ssl support, as openssl is looked in /usr/local/ssl

or better, add "--with-openssl=/usr" in the configure script of php since you've changed the src/osdep/unix/Makefile
 
Old 04-26-2011, 02:45 PM   #21
luvmax
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0
Bingo! - I think. I'm getting a webpage

Z-Push - Open Source ActiveSync
Version 1.5.1 (517)

GET not supported
This is the z-push location and can only be accessed by Microsoft ActiveSync-capable devices.


More information about Z-Push can be found at:
Z-Push homepage
Z-Push download page at BerliOS
Z-Push Bugtracker and Roadmap

All modifications to this sourcecode must be published and returned to the community.
Please see AGPLv3 License for details.


Does that sound OK?
 
Old 04-26-2011, 03:49 PM   #22
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I guess it's working, but it doesn't like the client.
According to FAQ #2 you need a Windows Mobile device to access the webpage
 
Old 04-26-2011, 04:20 PM   #23
luvmax
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0
You've been a big help thanks.

The z-push docs say

To test whether your Apache setup is working correctly, you can simply type the Z-Push URL in your browser, to see if apache is correctly redirecting your request to z-push. You can simply use:
http://<serverip>/Microsoft-ServerActiveSync
If correctly configured, you should see a username/password request, and when you specify a valid username & password, you should see a string like "Your device requested the Z-Push URL without the required GET parameters"
If not, then check your PHP and Apache settings.

I presume the message I got was the equivalent.

Having said that, no luck with my iphone yet :-(

Thanks again.

Now, does anyone know why my iphone says
'Exchange Account
unable to verify account
information'?
 
Old 04-26-2011, 04:34 PM   #24
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I don't know how z-push works and I don't have a mobile device to test it.
Maybe you should ask at z-push forums such specific questions about their software. According to this post (about the same error you get), http://xxx.xxx.x.xxx/Microsoft-Server-ActiveSync is used to test with a normal browser, while http://xxx.xxx.x.xxx is used to connect with a mobile device.
 
Old 04-27-2011, 04:35 AM   #25
luvmax
LQ Newbie
 
Registered: Apr 2011
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks again for getting me this far.

I guess I nowhave a different problem. Have to see what I can find out about this one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a push in the right direction. computer_freak_8 Programming 35 08-03-2010 08:21 AM
Push my SSH to another pc ojha_riddhish Linux - Software 8 09-11-2009 07:41 AM
Non programmer looking for push... sir-lancealot Programming 3 09-22-2008 06:50 PM
Obex Push thoyyib Linux - Software 2 05-10-2006 08:12 AM
Push installation balpeck Linux - Networking 1 09-21-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration