Код: Выделить всё
root@dev:/ # uname -a
FreeBSD dev 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
Код: Выделить всё
./configure --enable-shared --enable-static
< /code>
с полученными файлами: < /p>
dir /usr/local/lib/*jpeg*
-rw-r--r-- 1 root wheel 2039538 Feb 15 12:25 /usr/local/lib/libjpeg.a
-rwxr-xr-x 1 root wheel 868 Feb 15 12:25 /usr/local/lib/libjpeg.la
lrwxr-xr-x 1 root wheel 12 Feb 14 12:52 /usr/local/lib/libjpeg.so -> libjpeg.so.9
-rwxr-xr-x 1 root wheel 1097904 Feb 14 12:52 /usr/local/lib/libjpeg.so.9
-rw-r--r-- 1 root wheel 1482374 Jan 30 03:03 /usr/local/lib/libturbojpeg.a
lrwxr-xr-x 1 root wheel 17 Jan 30 03:03 /usr/local/lib/libturbojpeg.so -> libturbojpeg.so.0
lrwxr-xr-x 1 root wheel 21 Jan 30 03:03 /usr/local/lib/libturbojpeg.so.0 -> libturbojpeg.so.0.3.0
-rwxr-xr-x 1 root wheel 976216 Jan 30 03:03 /usr/local/lib/libturbojpeg.so.0.3.0
Моя команда настройки:
Код: Выделить всё
./configure --with-apxs2=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/etc \
--enable-bcmath --without-cdb \
--enable-gd --without-iodbc --enable-inline-optimization \
--without-gdbm --with-ndbm --without-db2 --without-dbm \
--without-readline --without-recode --with-openssl \
--without-db3 --enable-dba \
--with-curl \
--with-jpeg --enable-calendar \
--with-mhash --enable-mbstring=all \
--with-zlib \
--with-png-dir=/usr/local/libpng/lib \
--with-freetype --with-pdo-mysql \
--enable-exif --enable-zip \
--without-libzip \
--with-mysqli=mysqlnd \
--without-sqlite3
configure
configure
...
configure
configure
Package libjpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `libjpeg.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libjpeg' not found
configure
configure
Package libjpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `libjpeg.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libjpeg' not found
configure
configure
Package 'libjpeg' not found
configure
Package 'libjpeg' not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables JPEG_CFLAGS
and JPEG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
< /code>
Я не программист C и не слишком знаком с процессом сборки, поэтому будет оценена некоторая помощь. Я гугл о предложениях Настройка , но не смог найти ничего полезного.
Подробнее здесь: https://stackoverflow.com/questions/794 ... ge-freebsd
Мобильная версия