LDAP and OCI8 doesnot work together

Hello

I installed 11.2 oracle instant client. When I try to compile with LDAP and oci8 together

This is the configuration for the compilation

. / configure.
-prefix = / usr/local/apache.
-with ldap.
-with-mysql = / usr/local/mysql \
-with-pdo-mysql = / usr/local/mysql \
-with-unixODBC = / usr.
enable-sigchild------.
-with-mssql = / usr/local.
-enable-inline-optimization.
-with-layout = GNU.
enable-bcmath.
--with-oci8=instantclient,/usr/lib/Oracle/11.2/client/lib.------
--with-PDO-OCI=/usr/lib/Oracle/11.2/client/.------
-with openssl.
enable-gd-native-ttf.
-with-freetype-dir = / usr.
enable-pcntl.
-with zlib.
-bindir = / local/bin.
-with mcrypt = / usr/local/lib.
enable-mbstring.
enable-ctype.
enable-soap.
-with-jpeg-dir = / usr/lib.
-with-png-dir = / usr/lib.
-= / usr/local/apache/bin/apxs with-apxs2filter------.
-with-curl.
-with-gd \
-with snmp






it throw error

In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:68:1: warning: 'LBER_CLASS_UNIVERSAL' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:52:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:69:1: warning: 'LBER_CLASS_APPLICATION' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:53:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:70:1: warning: 'LBER_CLASS_CONTEXT' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:54:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:71:1: warning: 'LBER_CLASS_PRIVATE' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:55:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:72:1: warning: 'LBER_CLASS_MASK' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:56:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:75:1: warning: 'LBER_PRIMITIVE' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:59:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:76:1: warning: 'LBER_CONSTRUCTED' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:60:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:77:1: warning: 'LBER_ENCODING_MASK' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:61:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:79:1: warning: 'LBER_BIG_TAG_MASK' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:63:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:80:1: warning: 'LBER_MORE_TAG_MASK' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:64:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:88:1: warning: 'LBER_ERROR' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:74:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:89:1: warning: 'LBER_DEFAULT' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:75:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:92:1: warning: 'LBER_BOOLEAN' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:78:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:93:1: warning: 'LBER_INTEGER' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:79:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:94:1: warning: 'LBER_BITSTRING' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:80:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:95:1: warning: 'LBER_OCTETSTRING' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:81:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:96:1: warning: 'LBER_NULL' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:82:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:97:1: warning: 'LBER_ENUMERATED' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:83:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:98:1: warning: 'LBER_SEQUENCE' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:84:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:99:1: warning: 'LBER_SET' redefined
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:27,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/lber.h:85:1: warning: this is the location of the previous definition
In file included from root/download/php-5.3.5/ext/ldap/php_ldap.h:30,
from /root/download/php-5.3.5/ext/ldap/ldap.c:45:
/usr/include/Oracle/11.2/client/LDAP.h:183: error: redefinition of 'struct berval.
make: * [ext/ldap/ldap.lo] error 1



Note:

his work fine with LDAP or without BEC 8

The LDAP extension could do with a bit of love update for recent versions of Oracle.
See https://bugs.php.net/bug.php?id=61450
See the patch that I suggested in https://github.com/php/php-src/pull/19

The real solution is to build initially without OCI8 PHP and then add later OCI8 as a shared extension.
This last step is easiest using PECL: pear install oci8. You can then add "extension = oci8.so" in your php.ini.

Other independent advice, are:
-Use the latest version of PHP 5.3 (or even start looking for PHP 5.4)
-Do not use--enable-sigchild.  See https://blogs.oracle.com/opal/entry/php_oci8_signal_handling_and_e_1
-Do not activate PDO_OCI

Why the world suddenly had an obsession about LDAP and OCI8 in the last few weeks? It's for a class?

Tags: Database

Similar Questions

  • Is there a setting I need to change the windows Defender because my laptop and an iphone4 work together properly on the internet, and they seem to take turns?

    I contacted my internet provider several times in recent weeks and they haven't a clue what's wrong, so they want to send a technician for £180, but a friend had the same problem and contacted PCWorld and they said that it is to do with the security setting so he then contacted McAffee and they changed the type of security on the router WPA2-Personal wireless to another and apparently it works fine now so do you think that's what I have to do? Sorry if this is real confusing :) kind regards D

    Isn't it clear what your problem is, but if you use McAfee (based on what I read on other forums) you should probably uninstall or disable Windows Defender on your laptop.  Windows Defender and McAfee may not work well together as MSE and McAfee should not be used on the same computer.

    Some older portable computers (such as my Dell Inspiron 5100 with XP Pro 2004) does not connect to a WPA-2 wireless router - mine only works with WEP and WPA.  Maybe it's the cause of your problem, but of course if your laptop is new, it should work fine with WPA-2.

    Given that your problems are not associated with MSE, why not ask your advice in the Microsoft Windows Forum at http://answers.microsoft.com/en-us or on the website of the manufacturer of your router and maybe they can help.

    Good luck...

  • Reflow and edge animate work together?

    I am struggling a bit to see how reflow and animate dashboard could work together.

    I think how reflow might make a sensitive timeline based interactive project.

    For example, one of these, by Paul Trani...

    http://www.YouTube.com/watch?v=JvJjQvis36s

    There is no intention to integrate more animate them and reflux. We are working on Muse to do better for the animations and investigate sensitive interfaces at this time.

  • WRT120N - how to get static IP and DHCP to work together

    I have a few features on my net that must be static and other who work best as dynamic dhcp provided. How to configure the router to never give a static IP dhcp, preferably even IP addresses if the static IP device is OFF right now? It would be almost impossible to have everything static (cell phones, visitors, and al.)

    Static IP addresses must always be outside the general DHCP server address pool. On a Linksys router with the default settings for the DHCP server, assign static IP addresses outside 192.168.1.100 - 149.

  • Inspiron 15R 5537 Bluetooth and Wi - Fi works together

    Hi all

    I have an Inspiron 15R 5537, aged about two years. I have upgraded to windows 10 and had since May (I attended the Insider program). The driver, I am running is the Dell Wireless 1705 Wi - Fi + Bluetooth driver, latest version. (The Wireless Dell 1704 1704 Bluetooth and Wi - Fi drivers even install not on this phone.)

    I have a Bose Soundlink II Mini Bluetooth speaker that I use to listen to the audio from my laptop and my phone. But when I connect the speaker to my Inspiron, Wi - Fi works very slowly and nearly stops working. For example, I can't stream a Youtube video and watch it while my speakers is connected via Bluetooth. It seems that I can either use Wi - Fi as usual and not connect to Bluetooth, or use the Bluetooth with my laptop and basically lose Wi - Fi. I had this problem since I got the speaker in mid June and actively started to use my Bluetooth.

    I called Bose a few weeks and we tried a lot of different things, and we concluded that it was not a problem with the speaker, but most likely my laptop. Call Dell technical support got nowhere since the laptop is out of warranty. So I hope that someone here could help me because I have no idea what to do now.

    Thank you

    Jon

    Hello

    You are using the 10.0.0.0, A00 driver DW1705 Windows 10 then?

    Try this.  Go into Device Manager and completely remove the current drivers, then restart your system.  See if Windows 10 install drivers for the card and see if the driver born in this help.  If it is not installed or if it does not help, you can return to the 10.0.0.0 pilot.

    Todd

  • Operating systems Vista and XP can work together?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Can I use Vista with my XP operating system? I don't really want Windows 7. I want to be able to use the split screen that comes with Vista.

    Vista and Xp can be configured as a situation of dual boot - no problem.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • B200 M2 and M3 can work together?

    I have a chasis under VMware ESXi 4 blade B200M2 and we're looking to add a B200M3 blade. I have problems with moving guests between the blades of the M2 and M3 categories?

    There is no problem running ANY mix of blades in the same chassis - M1, M2 or M3.  Regard to the ESX compatibility you should probably use Enhanced VMotion (EVC) if moving between the blades with processors of different generation.   This is the case for any host hypervisor and not specific to Cisco.

    Kind regards

    Robert

  • How "data fusion" and "tagged text" work together in InDesign?

    Hello, I'm new to InDesign and I'm doing a fusion of data from a CSV file that has marked text.

    When I do the data merge, however, I just get the code itself and not the result of the code, if that makes sense.

    Is this possible?

    I don't have ID can interpret the labels for a data merge - he expects plain text or a path to the image.

    You can use find/replace after the merger, however, to lovate tags, add style, then remove the labels. This could be very simple or extremely difficult, according to the number of styles and wheter local formatting or character style are used outside the paragraph styles.

  • GoLive and Dreamweaver can work together?

    I'm about to migrate my one and only web site in Dreamweaver, but my site use MenuMachine, GoLive extension of construction menu. I can keep MenuMachine code in my site migrated and opened it in GoLive when I want to change the menus, or use other specific features of GoLive?

    Thanks for the info: it's good to know!

  • How to get Muse and reflow to work together?

    I like muse, but I need the sensitive layout reflow.  What is the correct workflow to integrate these two apps?  I design Muse then somehow export reformatting to design the breaking points?  Or is it the other way around?  Anyone with experience both of those applications that could provide their point of view would be greatly appreciated.  Thank you!

    Muse also uses the java script/ajax to their widgets, not sure how a widget could be re-scaled/re-sorted to accommodate a small screen size.

  • Please tell me how to make my laptop and printer work together. I have Windows XP and a series of HP Office Jet Pro K8600

    Please tell me how to make my laptop and my printer work together.  I have Windows XP and a HP Office Jet Pro K8600 Series

    The printer is turned on, power works fine, the paper is in the machine, not jams, computer is very good, I'm just not getting no response from the printer

    Hello

    Uninstall the printer, and then reinstall it by using the latest drivers from HP.

    You will find also find on the site of HP troubleshooting steps, once you enter your printer model number.

    http://WWW8.HP.com/us/en/support-drivers.html

    See you soon.

  • Satellite Pro A200 - new RAM work together

    Laptop Toshiba Satellite Pro A200-PSAF1A-003002, I bought the year last with RAM 2x512MB that I try to update my 3 GB RAM and I bought 2 RAM KTT667D2 / 1 G & KTT667D2 / 2G Kingston memory.

    I added that the 2 strips of RAM in the laptop, but it does not start. The power and the drive lights and flash for 3 times everything off. No boot. But I remove one of the sticks of RAM and it starts very well and the RAM has been upgraded in the system.

    I tried with the sticks and the two slots to remove 'bad slot' ideas and a stick of RAM works in a thin slot. Paste works in slot 1 or slot 2 and stick b works in slot 1 or 2, but not both at the same time. Is it simply a setting I'm missing somewhere? I checked the BIOS version is 1.7, I need to update my BIOS? Help, please

    Thank you
    Yana

    I think that the modules are not compatible together and that is the reason why each module works in each slot.

    Did you buy KTT667D2/1 and KTT667D2 / 2G. Different modules of s and are not working together.
    You should buy only the modules with the same specifications and capacity (for example, 2x1GB and 2x2gb).

  • 9 PE & cameras which do not work together

    Please, I want only responses from users of Premiere Elements and first Pro(any edition) who have the problem of a camcorder or video recording device does not work in the Adobe porgrams.

    I recently received first Elements 9 with Premiere Pro CS 5 and have problems with programs and a camera. I am running Windows 7 on a very good system, card is not supplied or worried because he is more of a general question.

    I work with three cameras, a Genius G-shot HD520, Coby Snapp and a Panasonic Mini DV. Three cameras cost less than $200 but only Coby Snapp costs about $30.

    Coby Snapp and Panasonic work very well in first Elements 9 and Premiere Pro, but HD 520 engineering works at all. When I import video on my desktop since the HD520 it automatically shows like a movie DivX video and plays fine in DivX player play and edit in other programs such as Windows Movie Maker and Nero ShowTime.

    Genius HD520 costs about $120 or more, Windows Movie Maker is free.

    I understand that different codecs and wrappers and all those who are an important part of editing but once more Premiere video Elements and now Premiere Pro is working with a single camera and not another.

    I don't want an explanation on why it is, I understand. BUT consumers looking to buy these products may not be understand these explanations of codec, if they want to help with starting another discussion please, do not discuss here.

    I ask because this is a simple explanation of the users who have used the first Elements 9 or Pro (any version) first and do not have a camera or camcorder work with her. Just try to get editors to read or modify the same program is not doing any what with the video and the video is what happens, no error, just doesn't recognize even that the clip is a video.

    Still, I would like to know the make and model of camera and program that works together, nothing more.

    Jeff Gedgaud

    Jeff, please start a new thread and we'll see if we can keep it on topic.

    I'll lock this one to avoid any verbal abuse further.

    Thanks for keeping this friendly.

  • Airport Extreme and Time Capsule of airport work together?

    I have time capsule and airport extreme. I need to decide if I should sell Airport extreme or is there a way for the two to work together to expand the wifi. Airport extreme can be connected to time capsule and extend the range?

    AirPort Extreme can extend the time Capsule network in one of two ways:

    (1) for the best performance, the AirPort Extreme is located in the heart of the area where most of the wireless coverage is needed, and it would connect to the time Capsule using wired Ethernet wired, permanent.

    (2) AirPort Extreme can connect to the Time Capsule wireless network and to extend the network in this way, if you're ready locate AirPort Extreme to halfway between the Capsule and the area that needs more coverage wireless... And... accept a drop in performance of half of the potential maximum speed on the network.

  • Desktop SMS and Windows Mail are not working together

    Hello

    thought I'd post here here as having a few issues with my Windows Mail but my desktop computer suffers the same problems and on a Vista forum where I posted my problem a few very useful told me who to try to solve the problems.

    One of them suddenly realized I had said my laptop is a Toshiba, and apparently the Desktop SMS and Windows Mail are not working together so that the person suggested unless I use it to uninstall apparently amongst the technically trained its known that these two programs do not like each other and explain why my office is not the problem but the laptop don't.

    After you have reset the Touch of Windows Mail (tutorial on a site http://www.vistax64.com/tutorials/ vista) wood don't be put off by vistax64 as site 32 and 64 and followed great reset Windows Mail from Brink (do not restore all mail) then uninstalled Desktop SMS and touch of the drink no more mail questions that gave me problems almost every day with marking than reading/sending project messages.

    So had to click forward then remove those bits and complete the email to send and touch wood since doing these two things as soon as send an email to the box shipment or project to obtain the number of emails in parentheses, whereas before it wouldn't happen unless I closed the program and then reopened.

    Hoping that these solutions have solved my problem and wanted to share it with someone else who wants to read this thread and you recommend Vista 64 because they are all very useful there and speak in non-technical terms for those of us not technically trained.

    Debbie

    Thanks for this piece of information. Should be useful for some of us.

Maybe you are looking for

  • Firefox keeps crashing with OSX El Capitan

    Since the update to 42 it crashes 5 - 10 times a day. Looks like the same mentioned here: https://discussions.Apple.com/thread/7269348 Meldungs ID SendedatumBP-534552c9-0fdb-4F05-9b49-55beb215102424.10.15 13:01BP-53541f78-3d03-414F-80e9-9fa6e21510242

  • Using 'tag' a photo in my emails

    "I had a lot of fun 'place brand' El Cap suddenly now in a short period of time - MARK UP IS ABSENT as a choice to" well... tag "my photos" information and the arrow etc. Any idea what's going on with this new program of El caps? Hate that "change of

  • iTunes card error

    I recently bought an iTunes card. I got an error that correctly says no Scanned.How, may only correct this answer please?

  • drive multimedia windiws does not display CVCTVLY sound picture for movies on the disk key

    I have movies on a disc key.  the sound is OK on windows media player but the nost picsture comes up.

  • IPod is not recognized

    My Ipod isn't recognized or something.  I get the error code 13019 when on Itunes when I try to sync, and the computer tells me that it is uninstall my device, code 21.  I followed all the suggestions for Itunes and all for the computer (f5, and then