Questions tagged [apr]

The Apache Portable Runtime (APR) library provides a variety of services masking the differences between different operating systems with a uniform, platform-neutral interface.

The Apache Portable Runtime (APR) project's stated mission is:

The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.

188 questions
0
votes
1 answer

Flush mmaped file with APR

I use APR library to write large amount of data. Everything works OK, but now I want to create checkpoints during write, where my data is consistent. I want to implement it by writing some data to the mmap-ed file followed by flush. I can't figure…
Evgeny Lazin
  • 9,193
  • 6
  • 47
  • 83
0
votes
1 answer

"undefined reference" even the lib has a symbol of the function

When i linked the .o files,some problems happened: gcc -L/usr/local/apr/lib -lapr-1 -pthread -laprutil-1 devpkg.o bstrlib.o db.o shell.o commands.o -o devpkg devpkg.o: In function `main': /root/workspace/devpkg/devpkg.c:21: undefined reference to…
kino-chen
  • 40
  • 5
0
votes
0 answers

Error while starting apache Undefined symbol dlopen in libapr-1.so.0

I have downloaded apache source code (2.4.9) and also downloaded apr and apr-util and kept in srclib directory under httpd-2.4.9 folder. I configured and compiled apache with options: --prefix=/usr/apache --enable-mods-shared=all --with-ssl={ssl…
user275880
  • 31
  • 1
  • 2
  • 4
0
votes
1 answer

What to do after make test fails?

On VirtualBox VM OpenBSD: I was trying to build apr 1.5.1 in my attempt to build an apache 2.4 server WITHOUT packages( ie. from source ) and when I ran make test, testlock failed with: testlock : -Line 300: Timer returned too late FAILED 1 of…
user2738698
  • 520
  • 7
  • 19
0
votes
5 answers

Solving Heartbleed issue on Tomcat with APR and OpenSSL. Compilation errors

I am running TeamCity on a Windows machine that uses Tomcat as a web server and uses Apache Portable Runtime (APR) and OpenSSL for SSL. I have not managed to upgrade the version of OpenSSL to 1.0.1g, and I think the reason is because the Tomcat…
fredrik.hjarner
  • 715
  • 8
  • 22
0
votes
2 answers

error: invalid conversion from ‘void*’ to ‘test::apr_size_t* {aka long unsigned int*}’ [-fpermissive]

back again with a "using C in C++" kind of question. In my experiment to use APR in C++ I am facing a new issue. The C++ header file: #ifndef TEST_STRINGCOMMONS_H_ #define TEST_STRINGCOMMONS_H_ namespace test { class StringCommons { public: …
Kilátó
  • 403
  • 3
  • 10
  • 19
0
votes
1 answer

Tomcat 7.0.52 APR 1.1.29 native TLS Protocol Session Renegotiation Security Vulnerability TLS SSL Man In The Middle CVE-2009-3555

I am failing a server security scan on Windows 2008 R2, with TLS Protocol Session Renegotiation Security Vulnerability TLS SSL Man In The Middle CVE-2009-3555 The scan results recommend an upgrade to openssl 0.9.8l or higher. I am using the latest…
iainmac999
  • 1,569
  • 2
  • 13
  • 12
0
votes
1 answer

a command to check if apr is already installed in my mac os x

Is there a command to check if apr is already installed in my mac os x? Please if anyone knows how to do it explain it for me. I started to work with command line very recently and I need to learn a lot.
Lunata
  • 3
  • 5
0
votes
1 answer

APR and large files

I want to use APR to mmap really large file, greater than 4Gb. At first I need to create file this big but I found that function apr_file_seek accepts parameter of type apr_seek_where_t that is just an alias for int. So it is possible to seek the…
Evgeny Lazin
  • 9,193
  • 6
  • 47
  • 83
0
votes
1 answer

Avoiding busy waiting in this situation

I have a process that uses different threads for making different type of jobs. One such thread must send push notifications in a non-blocking way (so I will use libcurl because of the multi interface and SSL support). The master thread must pass…
Victor Dodon
  • 1,796
  • 3
  • 18
  • 27
0
votes
0 answers

Error when installing Apache on Tomcat7: "file...has no symbols"

I tried to install apache [APR][1] on Tomcat7. What I did was: tar xvf apache-tomcat/bin/tomcat-native.tar.gz ./configure --with-apr=/usr/local/apr --without-ssl make install APR was not installed correctly I get the output: make[1]: Nothing to…
Michael
  • 32,527
  • 49
  • 210
  • 370
0
votes
1 answer

Apache mod_rotate_log filename replacement not working for below-day resolution

I have a strange problem: I use Apache on Windows and tried to configure rotating log using mod_log_rotate with the following configuration: RotateLogs On RotateLogsLocalTime On RotateInterval 86400 CustomLog "C:\logdir\access_%d-%m-%Y-%H-%M-%S.log"…
centic
  • 15,565
  • 9
  • 68
  • 125
0
votes
1 answer

casting apr_time_t to different int types

gcc 4.7.2 c89 APR 1.4 Hello, I am compiling my program in 32 bit mode i.e. -m32 as some of the libraries I am linking with use 32 bit libraries. I have the following structure: struct tag_channel { apr_int32_t id; char *name; }; For the id…
ant2009
  • 27,094
  • 154
  • 411
  • 609
0
votes
1 answer

tomcat APR with SSL - port 98 already in use/Invalid Server SSL Protocol

I am getting errors while trying to get an SSL enabled app running on a tomcat 6.x server. APR is enabled. I created the certificates like so: openssl genrsa -des3 -out key.pem 2048 passphrase openssl req -new -x509 -key key.pem -out cert.pem…
springcorn
  • 611
  • 2
  • 15
  • 28
0
votes
1 answer

Experiencing APR failure

I am using libapr, but some of their basic primitives seem to be not working well, presenting a very strange behaviour. Here is the code I am writing: pr_pool_t *mp=NULL; apr_file_t *fp = NULL; apr_pollset_t *pollset=NULL; …
twawpt
  • 51
  • 4
1 2 3
12
13