rdesktop: symbol lookup error: /lib64/libsndfile.so.1: undefined symbol: lame_encode_buffer_interleaved_ieee_double methods of the question 用户root cd /lib64/ ll libsndfile.so.1 cp libsndfile.so.1.0.37 libsndfile.so.1 rdesktop –help rdesktop: invalid option — ‘-‘ rdesktop: A Remote Desktop Protocol client. Version 1.9.0. Copyright (C) 1999-2016 Matthew Chapman et al. See http://www.rdesktop.org/ for more information. Usage: rdesktop [options] server[:port] -u: user name 用户root115… Continue reading symbol lookup error: /lib64/libsndfile.so.1
20250404-english-note
expect 预计 dream of 梦想 brief 简短的 make a brief summary做一个简短的总结 good memory好记性 cause导致 diary日记 daily每天 daily routine日常生活 daily basis每日基础 daily life日常生活 Let’s clap for them让我们为他们鼓掌 chant唱 wheels轮子 rhyme押韵 exactly完全 Your answer is exactly right. 你的回答完全正确. Am I clear?听清楚了吗? applause掌声 Applause rang through the hall. 掌声响彻整个大厅. Then the applause burst out. 随后爆发出掌声. The applause redoubled. 喝彩声越发震耳. nominal possessive pronouns. 名词所有代词. nominal possessive… Continue reading 20250404-english-note
[ffbuild/common.mak:81: libavformat/adtsenc.o] Error 1
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr’ make: *** [ffbuild/common.mak:81: libavformat/adtsenc.o] Error 1 更改编译代码方式: cd FFmpeg-n5.1.2/libavcodec/x86/ vim mathops.h 定位到125 先删除125至最后一行,然后添加新的内容 // avoid +32 for shift optimization (gcc should do that …) #define NEG_SSR32 NEG_SSR32 static inline int32_t NEG_SSR32( int32_t a, int8_t s){ if (__builtin_constant_p(s)) __asm__ (“sarl %1, %0\n\t” : “+r” (a) : “i” (-s &… Continue reading [ffbuild/common.mak:81: libavformat/adtsenc.o] Error 1
wordpress-update
使用root进入mysql后台执行,xx.xxx.xxx.xx:800表示原地址,xx.xxx.xxx.xx表示新地址 mysql> UPDATE wp_options SET option_value = replace(option_value, ‘xx.xxx.xxx.xx:800′,’xx.xxx.xxx.xx’); Query OK, 3 rows affected (0.13 sec) Rows matched: 160 Changed: 3 Warnings: 0 mysql> UPDATE wp_posts SET post_content = replace(post_content, ‘xx.xxx.xxx.xx:800′,’xx.xxx.xxx.xx’); Query OK, 267 rows affected (0.13 sec) Rows matched: 457 Changed: 267 Warnings: 0 mysql> UPDATE wp_comments SET comment_content = replace(comment_content, ‘xx.xxx.xxx.xx:800′,’xx.xxx.xxx.xx’); Query OK,… Continue reading wordpress-update
如何在WordPress中上传多种安装包文件
打开WordPress后台,进入“外观”->“主题文件编辑器”。 在右侧选择functions.php文件进行编辑。 在functions.php文件末尾添加以下代码: 步骤一:这段代码将允许上传以下文件类型: function add_custom_mime_types($mimes) { // Windows $mimes[‘exe’] = ‘application/x-msdownload’; $mimes[‘msi’] = ‘application/x-msi’; // Linux $mimes[‘deb’] = ‘application/vnd.debian.binary-package’; $mimes[‘rpm’] = ‘application/x-rpm’; return $mimes; } add_filter(‘upload_mimes’, ‘add_custom_mime_types’); Linux:.deb 和 .rpm 步骤二:增加文件上传大小限制 由于安装包文件通常较大,我们需要确保WordPress的文件上传大小限制足够大。以下是几种方法来增加文件上传大小限制: 方法:修改php.ini文件 如果您有服务器的控制权限,可以修改php.ini文件: upload_max_filesize = 50M post_max_size = 50M 步骤三:上传安装包文件 完成上述步骤后,您可以开始在WordPress中上传安装包文件了